MCPcopy Create free account
hub / github.com/go-json-experiment/json / TestMergeNull

Function TestMergeNull

v1/diff_test.go:843–904  ·  view source on GitHub ↗

In v1, unmarshaling a JSON null into a non-empty value was inconsistent in that sometimes it would be ignored and other times clear the value. In v2, unmarshaling a JSON null into a non-empty value would consistently always clear the value regardless of the value's type. The purpose of this change

(t *testing.T)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 2

UnmarshalFunction · 0.92
JoinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…