About the JSON Validator
The JSON Validator uses the browser's standards-compliant parser and reports whether the root is an object, array or primitive. For arrays and objects it also reports the immediate entry count.
How to use the JSON Validator
- Paste the entire JSON payload.
- Run validation.
- Use the parser message and nearby position to repair malformed syntax.
Practical tips
- Remove trailing commas before a closing bracket or brace.
- Remember that undefined and NaN are not JSON values.