go icon indicating copy to clipboard operation
go copied to clipboard

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

Open easyfold opened this issue 1 year ago • 0 comments

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 avatar May 08 '24 19:05 easyfold