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
}

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