Thursday, December 8, 2011

Deciphering JSON

When you try printing a JSON response..it can be a little overwhelming if there are nested objects. Someone who is a newbie like me, it was hard to understand the actual structure of the returned response. Of course, you can use tools for pretty printing to really see the result. But, I found this really cool link http://json.bloople.net/. It converts json to html. So next time you get a long crazy json response, you might want to try the link out. It can help a lot to write code in order to iterate through the response.

It also give the information like the following:-
Number of Arrays:592
Number of Objects:2773
Total number of all elements:7156
Nesting depth:8

Cool eh.

JSON reader,
me

No comments:

Post a Comment