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

Function TestDuplicateNames

v1/diff_test.go:812–828  ·  view source on GitHub ↗

In v1, duplicate JSON object names are permitted by default where they follow the inconsistent and difficult-to-explain merge semantics of v1. In v2, duplicate JSON object names are rejected by default where they follow the merge semantics of v2 based on RFC 7396. Users of v2 can opt into the v1 be

(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…