The JSON editor and JSON5 editor in XMLSpy allows you to view and edit JSON files using the same intuitive text code editor and grid / tree view that are available for XML editing, with useful editing guides and entry helpers. XMLSpy also makes it easy to convert XML to JSON or convert JSON to XML. Unlike any other XML editor, XMLSpy supports both JSON and XML, offering you an easy way to work with JSON data in the same environment where you're developing XML, AJAX, and Web services applications, giving you the best of both worlds.
XMLSpy also includes an easy to use, graphical JSON Schema editor for developing, validating, and generating JSON Schemas. To get started on JSON or JSON5 development, you can generate a sample JSON instance from any JSON Schema. Then, continue viewing and editing the JSON data in text or tree view as described below.
The text-based JSON code editor provides syntax coloring, line numbering, source folding, bookmarking, and more, making it easy to navigate and understand your JSON code, and find and edit strings. When you enable intelligent JSON editing on the JSON tab of the XMLSpy Info window, the Elements entry helper window provides a dynamically built list of the elements present in your JSON document. You can insert an element from the Elements window by double clicking it, or by dragging it into your document in the editing pane.
Syntax checking and JSON Schema-based validation in the JSON editor guide you in making valid JSON edits. Any errors are listed in the multi-tabbed Messages window, which also includes a hyperlink to the error in your document and the related schema, making trouble-shooting a breeze.
Grid View / Tree View provides a graphical representation that shows the structure / outline of a JSON document through a set of nested containers, which can be easily expanded and collapsed to get a clear picture of the JSON document's tree-like structure.
It's easy to manipulate your JSON document while analyzing its structure in a graphical manner, using advanced drag-and-drop, intelligent XML editing functions. You can switch between text view and tree view at any time, helping you visualize the effect of every change.