Online JSON Viewer,Validator | JSON Lint
Paste The JSON Text or drag here:
This is a validator and reformatter for JSON, a lightweight data-interchange format. Copy and paste, directly type, or input a URL in the editor above and let tidy and validate a JSON code.
JSON data types
- Number: Number, integer or real number (including the syntax with exponent). The decimal separator is always a period. Example: 1316, -1.23, 0.12e-4
- Boolean: Logical value. Example: true, false
- Null: Value null (not set). Example: null
- Array: Array (list of values). It is demarked by square brackets . Array in JSON is a container with sequenced list of values. The values in array can be of any JSON data type including an object or an array. Example: [12, "Beethoven", 33.6, false] [0.2, ["Mozart", "Wolfgang, "Amadeus", 1756], "Salzburg", 35.8, false]
Values of other data types cannot be entered directly and must be transformed to some of the JSON types. For example the date can be transformed into string or number in order to enter it to JSON.
JSON itself is built on two universal structures: - Collection of name-value pairs (Object) - in the PROMOTIC system represented by the PmMap object. - Sorted list of values (Array) - in the PROMOTIC system represented by the PmArray object.
If you use a Windows computer you may end up with different results. This is possibly due to the way Windows handles newlines. Essentially, if you have just newline characters (\n) in your JSON and paste it into JSONLint from a Windows computer, it may validate it as valid erroneously since Windows may need a carriage return (\r) as well to detect newlines properly. As a solution, either use direct URL input, or make sure your content's newlines match the architecture your system expects!