Skip to content

Implement a JSON5 with Comments representation in JSON #17

Description

@richkadel

I have a design document that describes how one might generate a pure JSON document that includes a loss-less representation of the JSON5 data and it's comments, including all metadata currently implemented in the json5format API to reconstitute the comments with intended relationships and formatting constraints.

This could be used to feed a JSON5 document to a JSON tool, manipulate the content, and reconstitute the JSON5 without losing any context, associations, or dependencies.

Ideally, JSON5-specific extensions for primitive value formats would be handled by converting the JSON5 string representation of the value to a JSON-native representation, and adding metadata to save the original format.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions