parser.h | parser.h | |||
---|---|---|---|---|
skipping to change at line 34 | skipping to change at line 34 | |||
#include "qjson_export.h" | #include "qjson_export.h" | |||
class QIODevice; | class QIODevice; | |||
class QVariant; | class QVariant; | |||
namespace QJson { | namespace QJson { | |||
class ParserPrivate; | class ParserPrivate; | |||
/** | /** | |||
* @brief Main class used for converting JSON data to QVariant objects | * @brief Main class used to convert JSON data to QVariant objects | |||
*/ | */ | |||
class QJSON_EXPORT Parser | class QJSON_EXPORT Parser | |||
{ | { | |||
public: | public: | |||
Parser(); | Parser(); | |||
~Parser(); | ~Parser(); | |||
/** | /** | |||
* Read JSON string from the I/O Device and converts it to a QVariant object | * Read JSON string from the I/O Device and converts it to a QVariant object | |||
* @param io Input output device | * @param io Input output device | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||
serializer.h | serializer.h | |||
---|---|---|---|---|
skipping to change at line 32 | skipping to change at line 32 | |||
#define QJSON_SERIALIZER_H | #define QJSON_SERIALIZER_H | |||
#include "qjson_export.h" | #include "qjson_export.h" | |||
class QIODevice; | class QIODevice; | |||
class QString; | class QString; | |||
class QVariant; | class QVariant; | |||
namespace QJson { | namespace QJson { | |||
/** | /** | |||
* @brief Main class used for converting QVariant objects to JSON data. | * @brief Main class used to convert QVariant objects to JSON data. | |||
* | * | |||
* QVariant objects are converted to a string containing the JSON data. | * QVariant objects are converted to a string containing the JSON data. | |||
* If QVariant object is empty or not valid a <em>null</em> json object is returned. | * If QVariant object is empty or not valid a <em>null</em> json object is returned. | |||
*/ | */ | |||
class QJSON_EXPORT Serializer { | class QJSON_EXPORT Serializer { | |||
public: | public: | |||
Serializer(); | Serializer(); | |||
~Serializer(); | ~Serializer(); | |||
/** | /** | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added | |||