JSON Minify
A web-based tool called JSON Editor is used to browse, edit, format, and validate JSON. It features several modes, including a simple text editor, a code editor, and a tree editor. You can incorporate the editor as a part of your own online application. The library can be loaded as a conventional javascript file, an AMD module, or a CommonJS module.