User guide
×
Menu

How to use the JSON validator

 
1. Open the JSON document and assign a schema
 
Before the JSON validator can be used in the editor to check JSON data, a JSON schema must be assigned to the instance. Set the schema at the "JSON schema" field on the "Quick Associations" window of JSONBuddy. The assignment is saved and restored for the active document.
 
 
 
2. Optionally modify the JSON data
 
Use the JSON editor environment if you want to do any modifications to the content before you run the validator to check if the JSON data is valid. Intelligent entry-helpers provide information from the assigned schema.
 
 
 
3. Run the JSON validator to find any errors
 
To run the validator press the F11 key or use the "Validate JSON" command either from the JSON menu or click the toolbar button. This command is only enabled if a JSON schema is assigned to the active document.
 
 
 
4. Fix any validation errors with the built-in JSON editor
 
After the validation, use the editor window to modify the JSON content. If any errors were reported by the JSON validator, a click on the results entry selects the related position in the editor window. A detailed error description helps to fix the problem in the JSON content. Press F11 or use the "Validate JSON" command again to see if all of the reported problems are corrected.