Skip to content

Allow JSONTokener to tolerate comments#17

Closed
ryantenney wants to merge 1 commit intostleary:masterfrom
martellotech:master
Closed

Allow JSONTokener to tolerate comments#17
ryantenney wants to merge 1 commit intostleary:masterfrom
martellotech:master

Conversation

@ryantenney
Copy link

JSONTokener no longer fails on comments, both // and /* */.

@douglascrockford
Copy link
Contributor

JSON originally had comments. I removed them when I saw people putting interpretive material in the comments, breaking portability. So I removed them, and expecting to see a recurrence of misuse, I do not want to put them back in.

This pull request was closed.
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

Successfully merging this pull request may close these issues.

2 participants