Use the "Editor" tab in JSONBuddy to open and edit JSON documents. The editor provides JSON specific syntax-coloring, intelligent auto-completion, background validation and well-formed checking. Of course all of the standard editor functionalities like copy-paste and find or replace are also available in the text editor view for JSON documents.
JSON auto-completion
The JSON intelligent auto-completion feature learns which object and value names are used in the currently active JSON document. On starting a new name with a leading " (quote) character, a list of already used names is presented in a standard auto-completion window for quick selection. This saves a lot of time on editing and modifying any JSON document.
To make sure that the current JSON content of the active document follows the JSON syntax, you can use the "Check if JSON well-formed" (F10) command from the JSON menu or from the main toolbar. This will also report if any property names are not unique at the same level.
And we get a message like this in the standard results dialog of the editor:
Hint: To check multiple JSON documents at once just select them in the File Explorer window of JSONBuddy (or JSONBuddy) and use the "Check if JSON well-formed" command from the JSON menu or use the toolbar button.
JSON pretty-print
Use the "Pretty-print JSON" command from the JSON menu to convert any JSON input into a more readable layout. This can help a lot on editing a JSON document and avoids adding errors to the content. Because only well-formed JSON can be pretty-printed, this command will also detect syntax errors in the document.
Remove whitespace from JSON
Any well-formed JSON can be converted to a compact format to reduce the amount of characters which is used to save the document. The resulting JSON will be printed as a single line without any line-breaks.
"Unescape JSON" command
This command will remove any JSON escaping from the current selection or from the whole document if the selection is empty.
JSON Pointer evaluator
Use the built-in JSON Pointer evaluator to quickly test and create valid JSON pointer expressions for your JSON document. If the pointer evaluates to a location in the current document the editor will select the corresponding line. Please note that you get entry-helpers if the JSON schema can be evaluated for the current JSON pointer: