How can I JSON serialize a QVariant (or other type of data) in Qt. I don't want to use an external third party library like QJson
How to serialize to JSON in Qt
17.3k views Asked by user457015 At
3
There are 3 answers
1
On
Parsing JSON with QT using standard QT library.
BTW: why don't you want to use QJson? It nicely encapsulates all the QScriptValueIterator stuff, making your code easier to read.
There are no internal tools in Qt to do it. You will have to use a lib. Or roll your own implementation