You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jsonc is a simplified json format which allows comments and unquoted values delimited by whitespace. A jsonc formatted file can be transformed to a json file. Comments will be stripped out and quotes added.
Right now, parsing json files with comments, causes it to fail. This is annoying since comments are an all-round good practice and they are often de facto required when working in teams.
The text was updated successfully, but these errors were encountered:
Eonfge
changed the title
Support for .jsonc
Support for Jsonc (.json files with comments)
Sep 6, 2020
Definitely would be nice to have, I always use JSON parsers that accept comments in my projects.
The scripts are quite easy to generate, for example here is a "format jsonc" script that you can drop into Boop-GTK's scripts folder. This was generated with the following:
As far as including it in the default set of scripts, right now all the scripts come from the project this was based of, Boop. I am not sure what the best policy for script requests should be, but perhaps its best to open an issue in the Boop repo, then both projects can benefit.
https://komkom.github.io/
Right now, parsing json files with comments, causes it to fail. This is annoying since comments are an all-round good practice and they are often de facto required when working in teams.
The text was updated successfully, but these errors were encountered: