I’m currently using json-framework and need some help though parsing some JSON i’m getting from my server. Here is how the JSON looks:
Like I said I already have the json-framework installed but I can’t figure out how to actually parse it. Can someone please show me? Thanks!
[
{
"id":"0",
"name":"name",
"info":"This is info",
"tags":
[
{
"id":"36",
"tag":"test tag",
},
{
"id":"37",
"tag":" tag 2",
}
],
"other":"nil"
},
{
"id":"1",
"name":"name",
"info":"This is info",
"tags":
[
{
"id":"36",
"tag":"test tag",
},
{
"id":"37",
"tag":" tag 2",
}
],
"other":"nil"
}
]
jsonlint.com will help you as far as validation, I don’t believe you want the trailing commas. json-framework implements a strict parser.