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

Function newInvalidFormatError

errors.go:113–122  ·  view source on GitHub ↗

newInvalidFormatError constructs a SemanticError because the current type t cannot handle the provided options format. This function must be called before producing or consuming the next value. If [jsonflags.ReportErrorsWithLegacySemantics] is specified, then this automatically skips the next value

(c coder, t reflect.Type)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 12

makeBoolArshalerFunction · 0.85
makeStringArshalerFunction · 0.85
makeBytesArshalerFunction · 0.85
makeIntArshalerFunction · 0.85
makeUintArshalerFunction · 0.85
makeFloatArshalerFunction · 0.85
makeMapArshalerFunction · 0.85
makeStructArshalerFunction · 0.85
makeSliceArshalerFunction · 0.85
makeArrayArshalerFunction · 0.85
makeInterfaceArshalerFunction · 0.85
makeTimeArshalerFunction · 0.85

Calls 3

newMarshalErrorBeforeFunction · 0.85
OptionsMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…