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

Method StackIndex

jsontext/encode.go:973–983  ·  view source on GitHub ↗

StackIndex returns information about the specified stack level. It must be a number between 0 and [Encoder.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 2

MarshalJSONToMethod · 0.45
UnmarshalJSONFromMethod · 0.45

Calls 4

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

Tested by

no test coverage detected