JSON (JavaScript Object Notation) is a lightweight data interchange format. Easy for people to read and write. It is also easy for machine parsing and generation. It is based on JavaScript programming Language, Standard ECMA-262 a subset of 3rd Edition–december 1999. JSON takes a completely language-independent text format, but also uses a similar idiom to the C language family (c, C + +, C #, Java, JavaScript, Perl, Python, etc.). These features make JSON an ideal data exchange language.
When using struts2 JSON plugin to convert related data objects to JSON data to the foreground page, it is often difficult to troubleshoot errors because of too much data, so several tools are needed to view the JSON data to help form the tree and to easily explore the data.Json VieweThis tool provides 3 options: 1: is a standalone EXE file, you can click directly to view the JSON object, 2:fiddler "a Free record host HTTP (S) Communication agent (proxy)" plug-in http://www.infoq.com/cn/news/ 2009/03/fiddler 3:visual Studio 2005 plug-in. JSON plugin for eclipse:json2xml treeviewer plugin for Eclipse The main function of this plug-in is to convert JSON data into JSON tree and XML tree, when using the Eclipse test code, the generated data is copied and pasted directly into the tool, eliminating the pain of opening a new software, it is not easy to operate it? Click here to download the jar pack directly into the Elipse plugin, restart Elipse > click Show View > Find Json Analyzer in the lower left corner and double click Add.Firefox's JSON pluginWith this tool, you can view JSON in the FF browser like an XML file, with code Auto-highlighting, auto-indentation, and auto-folding. Even if there are errors in the JSON file, Jsonview can still display the original code. After installing the Jsonview, go to Http://brh.numbera.com/software/jsonview/example.json to see if the extension is working! If you can see the collapsed tree, it means yes.
JSON View Gadget