Skip to content

[json] Add support for JSON comments #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
LukeSavefrogs opened this issue Nov 3, 2023 · 0 comments
Open

[json] Add support for JSON comments #12

LukeSavefrogs opened this issue Nov 3, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@LukeSavefrogs
Copy link
Owner

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
}
@LukeSavefrogs LukeSavefrogs added the enhancement New feature or request label Nov 3, 2023
@LukeSavefrogs LukeSavefrogs self-assigned this Nov 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant