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

Function mapKeyWithUniqueRepresentation

arshal_default.go:1085–1100  ·  view source on GitHub ↗

mapKeyWithUniqueRepresentation reports whether all possible values of k marshal to a different JSON value, and whether all possible JSON values that can unmarshal into k unmarshal to different Go values. In other words, the representation must be a bijection.

(k reflect.Kind, allowInvalidUTF8 bool)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

makeMapArshalerFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…