Skip to content

[json] Add support for JSON comments #12

Description

@LukeSavefrogs

Add support for JSON comments (from JSON 5 onwards). This is NOT a standard feature (it is NOT present in the original json module), but it would be a very welcomed addition to this polyfill.

{
    /* This is a block comment */
    "key": "value",
    "key2": "value2", // This is an inline comment
}

Activity

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions