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

fix: compatibility in umarshaling "null" into json.RawMessage #700

Closed
wants to merge 1 commit into from
Closed

fix: compatibility in umarshaling "null" into json.RawMessage #700

wants to merge 1 commit into from

Conversation

easyfold
Copy link

@easyfold easyfold commented May 8, 2024

Description

jsoniter behaves differently from standard library in unmarshaling null value into json.RawMessage.

This PR tries to fix the issue #469.

Changes

  • jsoniter will decode null into json.RawMessage("null") rather than json.RawMessage(nil)

@easyfold easyfold closed this Jul 31, 2024
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

Successfully merging this pull request may close these issues.

1 participant