下面是我的JSON字符串樣本格式:如何在ios中創建json?
{"entry":{"user":{"id":5,"name":"testuser"},"startday":"2015-12-27","status":"New","total":0.0,"entries":[{"id":752,"typename":{"id":3,"name":"teste"},"typetypeissue":{"id":4},"user":{"id":5,"name":"testuser
"},"activity":{"id":8,"name":"Design"},"time":4.0,"comments":"","Date":"2015-12-27"},{"id":750,"typename":{"id":2,"name":"teste1"},"typeissue":{"id":13},"user":{"id":5,"name":"testuser
"},"activity":{"id":8,"name":"Design"},"time":4.0,"comments":"","Date":"2015-12-29"}]}}
的「項」部分比行值了。請幫助我如何創建一個json格式。用戶輸入的記錄數超過值「條目」部分。
創建一個新的* * JSON!?以什麼方式*新*? – luk2302
歡迎來到堆棧溢出!請閱讀[如何問好問題](// stackoverflow.com/help/how-to-ask)並嘗試編輯您的問題。有了高質量的問題,您將會收到更快的答案。謝謝! – SmokeDispenser
NSString * string = @「這裏是你的json字符串」;如何以編程方式創建json字符串。 – Baskar