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

Function TestArrays

v1/diff_test.go:493–523  ·  view source on GitHub ↗

In v1, unmarshaling into a Go array permits JSON arrays with any length. In v2, unmarshaling into a Go array requires that the JSON array have the exact same number of elements as the Go array. Go arrays are often used because the exact length has significant meaning. Ignoring this detail seems lik

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