json icon indicating copy to clipboard operation
json copied to clipboard

null string confusion ?

Open vletoux opened this issue 2 years ago • 0 comments

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

vletoux avatar Mar 22 '22 13:03 vletoux