JSONkit sorting issues

前端 未结 2 1335
名媛妹妹
名媛妹妹 2021-01-26 10:06

I am using a REST based web service to get data. No matter what the structure of the JSON document, the NSDictionary gets populated the same way. I want the sorting preserved as

2条回答
  •  一个人的身影
    2021-01-26 10:37

    You shouldn't be using JSON dictionary to store things whose order matters. As http://json.org/ says

    An object is an unordered set of name/value pairs.

提交回复
热议问题