In my application I need to send a JSON to the server. The order of the JSON is important.
I tried to use NSMutableDictionary
and then use NSJSONSerialization
to convert the dictionary to JSON. But the orderer is messed up.
What other options do I have to have a key-value structure but maintain the insertion order?