You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue requests the addition of support for multiline comments to the JSON library even though they aren't an official part of the spec. Many developers still add comments to JSON files and the JsonLexercould simply discard those, but that's likely a better decision for the consumer to make instead.
Acceptance Criteria
JsonLexer returns CommentToken for multiline comments.
Column number advances when horizontal movement is captured.
Line number advances when vertical movement is captured.
Column number is reset to 0 when line number advances.
Multiline comments in JSON are defined in the same way they are in JavaScript:
👆🏻 single-line comment lexical structure excluded.
This issue requests the addition of support for multiline comments to the JSON library even though they aren't an official part of the spec. Many developers still add comments to JSON files and the
JsonLexer
could simply discard those, but that's likely a better decision for the consumer to make instead.Acceptance Criteria
JsonLexer
returnsCommentToken
for multiline comments.0
when line number advances.The text was updated successfully, but these errors were encountered: