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

Method StackIndex

jsontext/decode.go:1198–1208  ·  view source on GitHub ↗

StackIndex returns information about the specified stack level. It must be a number between 0 and [Decoder.StackDepth], inclusive. For each level, it reports the kind: - [KindInvalid] for a level of zero, - [KindBeginObject] for a level representing a JSON object, and - [KindBeginArray] for a level

(i int)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

BenchmarkInternFunction · 0.95

Calls 4

indexMethod · 0.80
isObjectMethod · 0.80
LengthMethod · 0.80
isArrayMethod · 0.80

Tested by 1

BenchmarkInternFunction · 0.76