![]() |
libqt4json
1.0.0-beta1
Serializator / Deserializator JSON for Qt4 QVariant and QObject
|
Class for serialize / deserialize json. More...
#include "libqt4json.h"
Public Member Functions | |
QString | toString (QVariant variant) |
Serializator. | |
QVariant | fromString (QString json, bool &ok) |
Deserializator. | |
QString | getLastError (void) |
Class for serialize / deserialize json.
QVariant libqt4json::CJson::fromString | ( | QString | json, |
bool & | ok | ||
) |
Deserializator.
[in] | json | Json string to deserialize |
[out] | ok | Set to true if no error occur, false otherwise |
QString libqt4json::CJson::getLastError | ( | void | ) |
QString libqt4json::CJson::toString | ( | QVariant | variant | ) |
Serializator.
[in] | variant | QVariant object to serialize |