19 #ifndef _STELJSONPARSER_HPP_ 20 #define _STELJSONPARSER_HPP_ 45 static QVariant
parse(QIODevice* input);
46 static QVariant
parse(
const QByteArray& input);
49 static void write(
const QVariant& jsonObject, QIODevice* output,
int indentLevel=0);
52 static QByteArray
write(
const QVariant& jsonObject,
int indentLevel=0);
57 #endif // _STELJSONPARSER_HPP_ Qt-based simple JSON reader inspired by the one from Zoolib.
static QVariant parse(QIODevice *input)
Parse the given input stream.
static void write(const QVariant &jsonObject, QIODevice *output, int indentLevel=0)
Serialize the passed QVariant as JSON into the output QIODevice.