JSONC support within json-glib
Would it be possible to extend JSON-glib with support for the JSONC format?
Json as a format has grown. It started as a machine-to-machine format, but nowadays it's also being used in templates and config files. As such, an issue that previously didn't exist, emerged: JSON does not support comments.
This is fine when machines must read it, but for humans it's horrible. Comments allow developers, distribution maintainers, and similar, to communicate certain special information that would otherwise not be obvious from the config file.
The root of the issue is with Flatpak. Here I've run into the issue that some automated tools destroy comments, which hurt future maintainers.
- https://json5.org/ (Because why not, it's the FLOSS way)