Sunday, 15 September 2013

ios6 / NSJSONSerialization / and json array data without key/value pair

ios6 / NSJSONSerialization / and json array data without key/value pair

I'm using a JSON datasource but without key/value pair, and the data is
like this:
[["user1",1,1,1,1],
["user2",1,1,1,1]]
If I try to decode this with NSJSONSerialization I get an NSArray with 1
entry like this:
jsonArray : (
(
"user1",
1,
1,
1,
1
),
(
user2,
1,
1,
1,
1
)
)
Any idea how I can get this more usable?

No comments:

Post a Comment