Skip to content

Double-slash comments should work or recover gracefully in JSON literals/patterns #11

Open

Description

@AnthonyDGreen

The JSON specification doesn't include comments but surely folks copying JSON fragments, particularly from configuration files, will include them. I'm reluctant to support comments if they aren't in the spec but the parser probably shouldn't flip out when it encounters them, even if it's a compile error/warning to leave them in.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions