.JSONC 文件扩展名

JSON With Comments File

开发者 不适用
受欢迎程度
4.0  |  4 
 

什么是 JSONC 文件?

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.

更多信息

在 Microsoft Visual Studio Code 中打开的 .jsonc 文件截图
在 Microsoft Visual Studio Code 中打开的 JSONC 文件

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.

如何打开 JSONC 文件

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.

使用File Viewer Plus打开 400 多种文件格式。免费下载

可打开 JSONC 文件的程序

分类: 开发者
更新时间: 2022-11-17

验证者 FileInfo.com

FileInfo.com 团队 独立研究了本页面列出的 JSON With Comments 文件格式和 应用。 我们的目标是达到 100% 的准确率,并且仅发布我们已验证过的文件类型信息。

如果您想为此页面提出新增或更新建议,请告诉我们