I recurrently need to write some C++ objects not as objects in JSON. For example, QString. If I implement the standard serialization, I end up with:
"QStingVariableName"{ "Value0":"whatever"}
but I need it to be:
"QStingVariableName":"whatever"
I hacked a bit the json archive to do so but It would be great to have a way to do so canonicaly
I recurrently need to write some C++ objects not as objects in JSON. For example, QString. If I implement the standard serialization, I end up with:
"QStingVariableName"{ "Value0":"whatever"}
but I need it to be:"QStingVariableName":"whatever"
I hacked a bit the json archive to do so but It would be great to have a way to do so canonicalythere is my hack: diff.txt
I use it like that for exemple for QString: