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

Function newUnmarshalErrorAfterWithValue

errors.go:184–190  ·  view source on GitHub ↗

newUnmarshalErrorAfterWithValue wraps err in a SemanticError assuming that d is positioned right after the previous token or value, which caused an error. It also stores a copy of the last JSON value if it is a string or number.

(d *jsontext.Decoder, t reflect.Type, err error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

makeBoolArshalerFunction · 0.85
makeIntArshalerFunction · 0.85
makeUintArshalerFunction · 0.85
makeFloatArshalerFunction · 0.85
unmarshalValueAnyFunction · 0.85

Calls 5

ValueTypeAlias · 0.92
newUnmarshalErrorAfterFunction · 0.85
PreviousTokenOrValueMethod · 0.80
DecoderMethod · 0.80
CloneMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…