Skip to content
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

Allow JSON comments #17

Open
luposlip opened this issue Dec 9, 2024 · 0 comments
Open

Allow JSON comments #17

luposlip opened this issue Dec 9, 2024 · 0 comments
Assignees

Comments

@luposlip
Copy link
Owner

luposlip commented Dec 9, 2024

Currently, parsing JSON with comments will fail (and it's illegal according to the JSON specification).

But that's nuts. We like comments in our code, and in our data as well.

@technomancy reminded me of this today, with his post on that exact issue:
https://douglascrockfordisnotyourdad.technomancy.us/

I'll find a way to make it work, eventually. Probably as a flag that has to be set, to allow comments (not to break existing use of this library).

@luposlip luposlip self-assigned this Dec 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant