parse json string from wikimedia using jquery
Im tring to get the infobox from wiki pages. For this I'm using wiki api. The following is the url from which I'm getting json data. http://en.wikipedia.org/w/api.php?action=query&prop=revisions&rvprop=content&format=json&titles= "+first+"&rvsection=0 Where first is a variable containing the article title for Wikipedia. I'm finding it extremely complex to parse this data to make a meaningful html out of it. I was usuing $.each function initially. But the loop is very deep that I had to use 6-7 times to get to the actual data that I want. I think there would be better alternative than this.