Monday, October 26, 2015

JSON formatting

JSON is such great alternative to XML as Javascript natively understands it. But it can also get complicated... and there is no description like XML describing what you are looking at. And on the java side, there are many tools too. For example: Jackson. see http://www.mkyong.com/java/jackson-2-convert-java-object-to-from-json/.

A formatter definitely can help you look at it in a clearer way. Here are some:

http://jsfiddle.net/AndyE/HZPVL/
http://www.freeformatter.com/json-formatter.html

Here is jsfiddle that you may find useful.
http://jsfiddle.net/AndyE/HZPVL/

No comments: