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

Function newMarshalErrorBefore

errors.go:126–130  ·  view source on GitHub ↗

newMarshalErrorBefore wraps err in a SemanticError assuming that e is positioned right before the next token or value, which causes an error.

(e *jsontext.Encoder, t reflect.Type, err error)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

makeBoolArshalerFunction · 0.85
makeStringArshalerFunction · 0.85
makeBytesArshalerFunction · 0.85
makeFloatArshalerFunction · 0.85
makeMapArshalerFunction · 0.85
makeStructArshalerFunction · 0.85
makeSliceArshalerFunction · 0.85
makeArrayArshalerFunction · 0.85
makePointerArshalerFunction · 0.85
makeInterfaceArshalerFunction · 0.85
makeInvalidArshalerFunction · 0.85
MarshalFuncFunction · 0.85

Calls 6

PointerTypeAlias · 0.92
toUnexpectedEOFFunction · 0.85
OutputOffsetMethod · 0.80
EncoderMethod · 0.80
AppendStackPointerMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…