Skip to content

null string confusion ? #48

@vletoux

Description

@vletoux

Thanks for releasing this

I've a json with a null string (returning null, not "")
image

The parser seems to be confused because the value is {"ul"} and not {null}

Putting if json == "null" return null seems to fix the issue here:
https://github.com/zanders3/json/blob/master/src/JSONParser.cs#L132

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