Added support for the JSON with Comments format. It allows C-style comments (// and /**/) and trailing commas in addition to the standard JSON format. You can also use .jsonc as a file extension to let code editors know that it uses the extended JSON format.
{
// Single-line comment
/*
* Multi-line comment
*/
"gui": [
{
"label": "JSON with Comments",
"command": "echo Hello!",
"components": [],
// You can put a trailing comma after the last element.
"": "",
}
]
}
Related to #41.
Added support for the JSON with Comments format. It allows C-style comments (
//
and/**/
) and trailing commas in addition to the standard JSON format. You can also use.jsonc
as a file extension to let code editors know that it uses the extended JSON format.