I have a problem with serialization json into a test
I had to keep an isConverted parameter because I have an object of the same type inside the object to be serialized.
Leaving aside this I have performed all the correct steps but why do I get a wrong order?
Hello guys,
I have a problem with serialization json into a test
I had to keep an isConverted parameter because I have an object of the same type inside the object to be serialized. Leaving aside this I have performed all the correct steps but why do I get a wrong order?
I have this code `Json Person::toJSon() {
}`
with i get this result
{"AnimaGemella": {"name": "Sara", "sex": "f", "surname": "Durante"}, "name": "Vincenzo", "sex": "m", "surname": "Palazzo"}
and not it?
{"name": "Vincenzo", "sex": "m", "surname": "Palazzo", "AnimaGemella": {"name": "Sara", "sex": "f", "surname": "Durante"}}
Sorry for my English but I'm learning