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

Method Depth

jsontext/state.go:249–251  ·  view source on GitHub ↗

Depth is the current nested depth of JSON objects and arrays. It is one-indexed (i.e., top-level values have a depth of 1).

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

DepthLengthMethod · 0.95
NeedIndentMethod · 0.95
TestStateMachineFunction · 0.95
makeMapArshalerFunction · 0.80
makeSliceArshalerFunction · 0.80
makePointerArshalerFunction · 0.80
marshalObjectAnyFunction · 0.80
marshalArrayAnyFunction · 0.80
NeedFlushMethod · 0.80
FlushMethod · 0.80
WriteValueMethod · 0.80

Calls

no outgoing calls

Tested by 1

TestStateMachineFunction · 0.76