Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug: incompatibility with standard lib map instead of nil #684

Open
4k1k0 opened this issue Aug 14, 2023 · 0 comments
Open

Bug: incompatibility with standard lib map instead of nil #684

4k1k0 opened this issue Aug 14, 2023 · 0 comments

Comments

@4k1k0
Copy link

4k1k0 commented Aug 14, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant