JSON
JavaScript Object Notation (JSON) ist ein hierarchisches Datenformat, das vor allem in Webanwendungen verwendet wird. Verbreitete Alternativen sind XML und YAML.
Beispiel
{
"value": 42,
"name": [ "forty-two", "forty two", "42" ],
"question": null,
"source": {
"author": "Douglas Adams",
"work": "The Hitchhiker's Guide to the Galaxy"
}
}
Serialisierungen
Neben der JSON-Syntax kann JSON ausgedrückt werden in:
- Coffescript Object Notation (CSON) (Unicode)
- Human JSON (Hjson) (Unicode)
- Human-Optimized Config Object Notation (HOCON) (Unicode)
- JSON5 (Unicode)
- Smile (Bytes)
- Universal Binary JSON (UBJSON) (Bytes)
Außerdem ist YAML eine Verallgemeinerung von JSON und damit auch zum Serialisieren von JSON-Dokumenten einsetzbar. Die binären Strukturierungssprachen CBOR, BSON und MessagePack decken ebenfalls einen Großteil des JSON-Modells ab. In der Regel treten JSON-Daten als I-JSON oder NDJSON auf.
Abfragesprachen
Zur Abfrage von JSON-Daten gibt es unter Anderem:
Schemasprachen
Zur Spezifikation von JSON-basierten Formaten eignen sich:
Änderungssprachen
Zur Angabe von Änderungen an JSON-Daten gibt es:
Datenformate
Folgende hier erfasste Datenformate basieren auf JSON:
- Avram Schema Language (Avram)
- BibJSON
- CSL-JSON
- CSV Dialect (CSVDDF)
- CSVW JSON
- DAIA/JSON
- Data Package
- Data Resource
- DataCite JSON (DataCite)
- JSON Merge Patch
- JSON Patch
- JSON Schema
- JSON Table Schema
- JSON-LD
- Jupyter Notebook Format (nbformat)
- Linked Places format
- MARC in JSON (mij)
- MARC JSON
- Metadata Vocabulary for Tabular Data
- MicroXML
- PICA JSON
- Pragmatic XML
- ShEx JSON Syntax (ShExJ)
- VZG Articleformat
- Wikibase Tabular Data
Homepage | https://json.org/ |
erstellt | 2001 |
Autor | Douglas Crockford |
Content Type | application/json |
Grundformat | Unicode |
Anwendung | Strukturierungssprachen (Strukturen) |
Wikidata | Q2063 |