Converting an NSArray of Dictionaries to JSON array in iOS

后端 未结 8 1156
逝去的感伤
逝去的感伤 2020-12-13 08:09

I need to send an NSArray to the server in the JSON array format. How can I convert it to JSON. This is a sample of my NSArray

8条回答
  •  春和景丽
    2020-12-13 08:38

    You can use the build in JSON functions of iOS or use an external lib e.g. JSONKit to convert your data to JSON

提交回复
热议问题