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

Method InvalidateDisabledNamespaces

jsontext/state.go:421–428  ·  view source on GitHub ↗

InvalidateDisabledNamespaces marks all disabled namespaces as invalid. For efficiency, Marshal and Unmarshal may disable namespaces since there are more efficient ways to track duplicate names. However, if an error occurs, the namespaces in Encoder or Decoder will be left in an inconsistent state.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

marshalEncodeFunction · 0.80
unmarshalDecodeFunction · 0.80

Calls 4

DepthMethod · 0.95
indexMethod · 0.95
isActiveNamespaceMethod · 0.80
invalidateNamespaceMethod · 0.80

Tested by

no test coverage detected