Values and structure
JSON represents objects, arrays, strings, numbers, booleans and null. An object maps double-quoted strings to values. An array retains element order. A top-level value can be a literal, such as true, in addition to an object or array.
{"service":"zloweb","features":["format","validate"],"local":true}Syntax and interoperability
Standard JSON excludes comments and trailing commas. Escape quotes and line breaks inside strings. Keep object keys unique because parsers differ in how they handle duplicates. For identifiers above JavaScript’s safe integer range, string values allow readers to preserve every digit.
Format and validate
Paste the example into the formatter, choose Format, and run it. Then choose Minify and compare the output. Whitespace between tokens changes, while whitespace inside strings remains. Syntax validation checks grammar; a schema or application must check the intended data shape.