go
go copied to clipboard
fix: compatibility in umarshaling "null" into json.RawMessage
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
nullintojson.RawMessage("null")rather thanjson.RawMessage(nil)