Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Better error messages with , #1

Copy link
Copy link
@QuickWrite

Description

@QuickWrite
Issue body actions

When the JSON parser parses a JSON document like this

{
    "test": 42,
}

then it should throw an error because there is a comma that resembles another entry.

And the parser does exactly that, but it shows that the } is the error even though the
comma is clearly the error.


This is also the exact same thing that happens with arrays:

[
    42,
]

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.