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

Method StackDepth

jsontext/decode.go:1181–1184  ·  view source on GitHub ↗

StackDepth returns the depth of the state machine for read JSON data. Each level on the stack represents a nested JSON object or array. It is incremented whenever a [BeginObject] or [BeginArray] token is encountered and decremented whenever an [EndObject] or [EndArray] token is encountered. StackDe

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

BenchmarkInternFunction · 0.95

Calls 1

DepthMethod · 0.80

Tested by 1

BenchmarkInternFunction · 0.76