json-iterator / go

A high-performance 100% compatible drop-in replacement of "encoding/json"
http://jsoniter.com/migrate-from-go-std.html
MIT License
13.33k stars 1.02k forks source link

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

Closed easyfold closed 1 month ago

easyfold commented 4 months ago

Description

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

This PR tries to fix the issue #469.

Changes