JSON (JavaScript Object Notation)
JSON ist ein leichtgewichtiges Datenaustauschformat, das für Menschen leicht lesbar und für Maschinen einfach zu parsen ist. Es ist der Standard für Web-APIs und Konfigurationsdateien.
MIME-Typ
application/json
Typ
Text
Komprimierung
Verlustfrei
Vorteile
- + Human-readable and writable with minimal syntax
- + Native parsing in every programming language
- + Dominant format for REST APIs and web services
- + Lightweight — less verbose than XML
Nachteile
- − No comment syntax — cannot annotate configuration files
- − No native date, binary, or schema types
- − Trailing commas cause parse errors in strict parsers
Wann Sie .JSON verwenden sollten
Verwenden Sie JSON für Web-APIs, Konfigurationsdateien, Datenspeicherung und jede strukturierte Datenkommunikation zwischen Systemen.
Technische Details
JSON unterstützt sechs Datentypen: String, Number, Boolean, null, Object und Array. Es ist ein Teilmenge der JavaScript-Notation, aber sprachunabhängig. UTF-8 ist die Standardkodierung.
Geschichte
Douglas Crockford spezifizierte JSON Anfang der 2000er Jahre als leichtgewichtige Alternative zu XML. Es wurde 2013 als ECMA-404 und 2017 als RFC 8259 standardisiert.
Von .JSON konvertieren
In .JSON konvertieren
Verwandte Formate
Verwandte Begriffe
Learn More
File Format Conversion: A Complete Guide
Converting files between formats is a daily task for professionals across every industry. This comprehensive guide covers document, image, audio, …
How to Generate Strong Random Passwords
Password generation requires cryptographic randomness and careful character selection. This guide covers the principles behind strong password generation, entropy calculation, …
JSON vs YAML vs TOML: Choosing a Configuration Format
Configuration files are the backbone of modern applications. JSON, YAML, and TOML each offer different trade-offs between readability, complexity, and …
Meta Tags for SEO: Title, Description, and Open Graph
Meta tags control how your pages appear in search results and social media shares. This guide covers the essential meta …
Text Encoding Explained: UTF-8, ASCII, and Beyond
Text encoding determines how characters are stored as bytes. Understanding UTF-8, ASCII, and other encodings prevents garbled text, mojibake, and …
CSV vs JSON vs XML: Data Exchange Formats Compared
Data exchange formats serve different needs. CSV excels at tabular data, JSON dominates web APIs, and XML powers enterprise integrations. …