JSON validator
Check whether a document follows JSON syntax and see its top-level value type.
How to use JSON validator
Paste one complete value. A valid JSON document can be an object, array, string, number, boolean or null. If a document fails, look for single quotes, unescaped newlines inside strings or extra commas after the final item. A syntactically valid document can still fail an API schema if it has missing or incorrectly typed fields.
Worked example
Input
{"items":[1,2,3]}Output
Valid JSON (object)