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

Function ExampleWithUnmarshalers_recordOffsets

example_test.go:503–561  ·  view source on GitHub ↗

When using JSON for parsing configuration files, the parsing logic often needs to report an error with a line and column indicating where in the input an error occurred.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 7

UnmarshalFunction · 0.92
WithUnmarshalersFunction · 0.92
UnmarshalFromFuncFunction · 0.92
UnreadBufferMethod · 0.80
PeekKindMethod · 0.45
InputOffsetMethod · 0.45
IsValidMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…