.json JSON-Dokument
Text & Quellcode
| MIME-Typ | application/json application/schema+json |
|---|---|
| Beschreibung | JSON-Dokument |
| Abkürzung | JSON – JavaScript Object Notation |
| Kategorie | Text & Quellcode |
| Basiert auf | application/json5 |
Häufige Fragen
Was ist eine .json-Datei?
Die Endung .json wird für mehrere Formate verwendet: JSON-Dokument (application/json) und JSON-Schema (application/schema+json). JSON steht für JavaScript Object Notation.
Womit öffne ich eine .json-Datei?
Mit jedem Texteditor – etwa Notepad++, Visual Studio Code oder unter Linux gedit und vim. Die Datei enthält lesbaren Text, ggf. Quellcode oder Konfiguration.
Woran erkennt man eine echte .json-Datei?
Für dieses Format ist keine feste Signatur am Dateianfang hinterlegt; erkannt wird es vor allem an der Endung. Unter Linux und macOS zeigt file --mime-type example.json den vermuteten Typ.
Auf welchem Format basiert .json?
Technisch ist eine .json-Datei ein Untertyp von „JSON5-Dokument“ (application/json5). Programme für dieses Grundformat können die Datei daher oft ebenfalls lesen.
Welcher MIME-Typ gehört zu .json?
Der MIME-Typ ist application/json. Im Apache-Webserver: AddType application/json .json; in nginx: types { application/json json; }.