Someone who selected Recommend: yes and Overall quality: 1 on the survey form sent this additional feedback:
Code folding for JSON file does not work for situations like: "RaceCar": { "Domestic": true, "Model": [] }
Unfortunately, the user did not provide an email address, so a direct reply was not possible. What is the JSON editor doing with JSON data like this in terms of code folding? The sample data is all in one line. There is no chance for the editor to show code folding for JSON content that spans only a single line.
If you use JSONBuddy as your JSON editor, you also get a useful pretty-print function that can be executed by pressing Ctrl+Shift+P. The sample JSON is immediately formatted in the following way:
Formatting JSON with pretty-print in JSONBuddy.
As you can see, folding is available after the JSON data is formatted in the editor. It is also convenient that the current selection is preserved after the pretty-print operation is completed. Maybe a small but important detail to provide the best JSON editor experience possible.
JSONBuddy is more than just a JSON editor for Windows ®. Learn more on clicking the images and links below.
See in detail how your JSON data is validated using the JSON Schema validation debugger.
Try hereXML, JSON, CSV and HTML conversion tool. Import CSV text and get JSON, XML or HTML.
Read MoreUse the streaming JSON formatter to get pretty JSON.
Verify how a set of data files align with your JSON Schema resources. Easy and automated.
Get a complete JSON Schema designer with extended support for creating and testing JSON schema specifications.
Read MoreImport from any CSV text and get structured JSON or XML data in the editor.
Read MoreJSON editor with built-in JSON pointer engine. Useful on creating JSON Schema documents and for navigation.