.json5 JSON5-Dokument
Text & Quellcode
| MIME-Typ | application/json5 |
|---|---|
| Beschreibung | JSON5-Dokument |
| Abkürzung | JSON5 – JavaScript Object Notation 5 |
| Kategorie | Text & Quellcode |
| Basiert auf | text/javascript |
Häufige Fragen
Was ist eine .json5-Datei?
Eine .json5-Datei ist ein Format vom Typ „JSON5-Dokument“ (MIME-Typ application/json5). JSON5 steht für JavaScript Object Notation 5.
Womit öffne ich eine .json5-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 .json5-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.json5 den vermuteten Typ.
Auf welchem Format basiert .json5?
Technisch ist eine .json5-Datei ein Untertyp von „JavaScript-Programm“ (text/javascript). Programme für dieses Grundformat können die Datei daher oft ebenfalls lesen.
Welcher MIME-Typ gehört zu .json5?
Der MIME-Typ ist application/json5. Im Apache-Webserver: AddType application/json5 .json5; in nginx: types { application/json5 json5; }.