go icon indicating copy to clipboard operation
go copied to clipboard

Bug: incompatibility with standard lib map instead of nil

Open 4k1k0 opened this issue 2 years ago • 0 comments

I found a use case where the Unmarshal function does not return the same value as the standard encoding/json package.

https://go.dev/play/p/PZQ9WZlZ52v

If you use {{}} as a input you should expect a nil returned, but JSON Iterator returns a map instead.

4k1k0 avatar Aug 14 '23 23:08 4k1k0