.JSON5 Extension de fichier

JSON5 Data File

Développeur Aseem Kishore and Jordan Tucker
Popularité
4.0  |  3 Votes
 

Qu'est-ce qu'un fichier JSON5 ?

A JSON5 file contains data saved in the JSON5 Data Interchange Format. The JSON5 format is an extension of JSON. It includes some aspects of ECMAScript 5.1 syntax, to make data more human-readable.

Plus d'informations

Capture d'écran d'un fichier .json5 dans Microsoft Visual Studio Code
Fichier JSON5 ouvert dans Microsoft Visual Studio Code

JSON is a text-based data interchange format used primarily by web developers. While .JSON files are human-readable, the developers of JSON5 felt the JSON format could be modified to make manually writing, reading, and maintaining JSON data easier.

To do this, the JSON5 team added several features of ECMAScript 5.1 to the standard JSON format. Some of these features include:

  • Objects and arrays may have a single trailing comma
  • Strings may be single-quoted, span multiple lines, and include character escapes
  • Numbers may be hexadecimal, have a leading or trailing decimal point, and begin with an explicit plus sign
  • Single-line comments, multi-line comments, and white space characters are allowed

Because JSON5 is a superset of JSON, all JSON files are valid JSON5 files. Additionally, because JSON5 is a subset of ECMAScript 5.1, most JSON5 files are valid ECMAScript 5.1 files.

Comment ouvrir un fichier JSON5

You can open and edit a JSON5 file with Microsoft Visual Studio Code, Brackets, Notepad++, or any other text or source code editor.

Ouvrez plus de 400 formats de fichiers avec File Viewer Plus.Téléchargement gratuit

Programmes qui ouvrent les fichiers JSON5

Windows
Mac
Linux
Catégorie : Web
Mis à jour : 2023-09-14

Vérifié par FileInfo.com

L'équipe FileInfo.com a mené des recherches indépendantes sur le format de fichier JSON5 Data et les applications Mac, Windows, and Linux répertoriées sur cette page. Notre objectif est une précision de 100%, et nous ne publions que des informations sur les types de fichiers que nous avons vérifiés.

Si vous souhaitez suggérer des ajouts ou des mises à jour de cette page, faites-le-nous savoir.