.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

Screenshot of a .jsonc file in Microsoft Visual Studio Code
JSONC file open in Microsoft Visual Studio Code

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.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open JSONC files

Verified by FileInfo.com

The FileInfo.com team has independently researched the JSON With Comments file format and apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.