Skip to content

Incorrect edge cases for gjson.Valid() #210

@WillAbides

Description

@WillAbides

I ran test_parsing from https://github.com/nst/JSONTestSuite against gjson.Valid() and discovered a couple of edge cases that gjson incorrectly calls valid.

[-] from n_array_just_minus.json

and

[-.123] from n_number_neg_real_without_int_part.json

To be clear, this isn't a problem for me. I'm just reporting it because I thought you might want to know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions