I mentioned that the sequence of the generated ToString or ToPrettyString is different from the key/values in the map used.
Examples
Map:
key1, value1
key2, value2
key3, value3
...
...
keyn, valuen
After JSONGenerator.Initialize(MyMap) & "ToString" or "ToPrettyString":
key1, value1, key3, value3, key7, value7, key2, value2 and so on...
This is not a problem but am I blind (didn't see the paramater causing this) or what is the reason for the de-sequencing? I would have expected a 1:1 structure (1,2,3,4 ... and not "randomly" 1,3,7,2)
Examples
Map:
key1, value1
key2, value2
key3, value3
...
...
keyn, valuen
After JSONGenerator.Initialize(MyMap) & "ToString" or "ToPrettyString":
key1, value1, key3, value3, key7, value7, key2, value2 and so on...
This is not a problem but am I blind (didn't see the paramater causing this) or what is the reason for the de-sequencing? I would have expected a 1:1 structure (1,2,3,4 ... and not "randomly" 1,3,7,2)