ios - Get JSON array without dictionary? -


i've got array in json i'm trying receive. can find examples showing how kind of array:

[ {     "text": "pain intensity",      "question_number": 1,      "id": 1 },  

but array in format:

[      [1, "http://youtu.be/ow9mji25fye", "video", "text here"],      [2, "http://gardenwebs.net/butchart.gardens.jpg", "image", "text here"]  ] 

is there way this? or need change json?

thinking have assigned value variable x,

in first way, value, "pain intensity" write, x[0].text

in second method, value 1, x[0][0] , "[http://youtu.be/ow9mji25fye", "video", "text here"] have write x[0][1]

first type written in mixture of array , object. 2nd method pure array.

but note both json.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

c++ - End of file on pipe magic during open -