-
Notifications
You must be signed in to change notification settings - Fork 1k
Compatibility issue with native JSON encoder: failed to convert null
of string field to pointer of integer
#478
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
Comments
null
to pointer of integernull
of string field to pointer of integer
Based on example above, here is example when jsoniter fails. Playground.
|
cc: @taowen |
2 tasks
@zhenchangxc feel free to try again ;) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The below code works well with native encoder but not the
json-iterator
. When running withjson-iterator
, similar error will be returned when trying to unmarshal null into integer pointer:The text was updated successfully, but these errors were encountered: