JSON
JavaScript Object Notation
MIME type: application/json
JSON is a lightweight data interchange format that is easy for humans to read and write and easy for machines to parse and generate. It has become the dominant data format for web APIs and configuration files.
Advantages
- +Human-readable and writable
- +Native support in every programming language
- +Lightweight and fast to parse
- +The standard for web APIs
Limitations
- -No comments allowed in standard JSON
- -No date type (dates stored as strings)
- -No support for binary data
- -Large files with deeply nested structures
Common Use Cases
Technical Details
JSON supports six data types: strings (UTF-8, double-quoted), numbers (integer or floating-point), booleans (true/false), null, arrays (ordered lists), and objects (key-value pairs). It is defined by RFC 8259 and ECMA-404. Keys must be strings. The format is a strict subset of JavaScript object literal syntax. Common extensions include JSON5 (with comments) and JSONL (newline-delimited).
Frequently Asked Questions
How do I format JSON?
Paste your JSON into BriskTool's JSON Formatter — it will pretty-print it with proper indentation, validate the syntax, and highlight any errors. No data is uploaded to any server.