JSON (JavaScript Object Notation) is a lightweight data exchange format. Easy to read and write. It is also easy to parse and generate machines. It is based on a subset of JavaScript programming language, standard ECMA-262 3rd edition-December 1999. JSON uses a completely language-independent text format, but it also uses a habit similar to the C language family (including C, C ++, C #, Java, JavaScript, Perl, Python, and so on ). These features make JSON an ideal data exchange language.
When you use struts2 JSON plugin to convert the relevant data objects into JSON data and send it to the front-end page, it is often too difficult to troubleshoot errors due to excessive data volumes, several tools are required to view JSON data to form a tree and facilitate data browsing.
JSON viewe This tool provides three options: 1: An Independent EXE file, you can click to view the JSON object directly; 2: fiddler [a free record Host HTTP (s) agent http://www.infoq.com/cn/news/2009/03/fiddler 3: plug-in for Visual Studio 2005 for proxy for communication.
Eclipse JSON Plugin:
Json2xml treeviewer plugin for eclipse The main function of this plug-in is to convert JSON data into JSON tree and XML tree. It is tested using eclipse. Code When the generated data is directly copied and pasted into this tool, it eliminates the trouble of opening a new software. Isn't it easy to operate? Click here to download the jar package and put it in the plug-in of Elipse. Restart Elipse. Click Show view in the lower left corner, find JSON analyzer, and double-click Add.
JSON plug-in of Firefox With this tool, you can view JSON like an XML file in the FF browser, with automatic code highlighting, automatic indent, and automatic folding. even if there is an error in the JSON file, jsonview can still display the original code. after jsonview is installed, go to http://brh.numbera.com/software/jsonview/example.json?! If you can see the collapsed tree, it means you can. You can select the above three tools as needed, which can basically meet the needs of daily JSON data viewing. If you have better tools, please recommend them to me!