.JSONC File Extension
JSON With Comments File
Developer | N/A |
Popularity |
3.5 | 2 Votes |
What is a JSONC file?
A JSONC file is a JSON file that includes comments. Several developers have independently created variants of the JSONC format. The most popular variant is developed and maintained by Microsoft.
More Information
Comments are explanatory lines of text that are ignored when a program parses a source code or data file. By default, the .JSON format does not support comments. However, because comments can be useful for explaining why a file is structured the way it is, various developers have sought to add comment support to JSON. These developers typically call the resulting format JSONC, or JSON With Comments.
For example, Microsoft Visual Studio Code includes a JSON With Comments mode, which is used primarily to edit the program's configuration files. This allows users to add single line (//) or block (/* */) comments. Developers Michael Gross and Muhammad Muzzail have also developed their own JSONC formats, which use similar implementations.
How to open a JSONC file
You can open a JSONC file in Microsoft Visual Studio Code (multiplatform), GitHub Atom (multiplatform), or any other text or source code editor, to view or edit the data it contains.