Friday, 27 September 2013

parse "deep" JSON

parse "deep" JSON

I have a multi-level JSON:
{
"1":{
"name":"PHP",
"slug":"/tag/php",
"type":"Tag"
},
"2":{
"name":"JavaScript",
"slug":"/tag/javascript",
"type":"Tag"
},
"3":{
"name":"X-Browser Shadow",
"slug":"/post/x-browser-shadow",
"type":"Post"
}
}
I would like to know what is the best way to parse this JSON, pure JS of
jQuery, i don't care which of them.
Thanks :)

No comments:

Post a Comment