Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • json-glib json-glib
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GNOMEGNOME
  • json-glibjson-glib
  • Issues
  • #63
Closed
Open
Issue created Jun 23, 2021 by Kevin Degeling@Eonfge

JSONC support within json-glib

Would it be possible to extend JSON-glib with support for the JSONC format?

Background

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.

Details

Main page:

  • https://komkom.github.io/

Competing standard:

  • https://json5.org/ (Because why not, it's the FLOSS way)
Assignee
Assign to
Time tracking