-2
我目前正在制作一个移动应用程序,以便与我的web应用程序一起使用django后端。在swift中读取json数据
我做出在迅速向服务器发出请求,然后我回到这个响应
[{"model": "webapp.comment", "pk": 73, "fields": {"commentDescription": "hello there", "owner": 25, "postId": 78}},
{"model": "webapp.comment", "pk": 72, "fields": {"commentDescription": "well hi", "owner": 25, "postId": 78}}]
我如何然后遍历和访问这些值像commentDescription
,owner
,pk
并使用使用它们在我的手机应用像弦乐一样迅速。我试过使用Gloss来读它,但我仍然迷路。