Skip to main content

MAX_REDACT_DEPTH

Constant MAX_REDACT_DEPTH 

Source
pub const MAX_REDACT_DEPTH: usize = 64;
Expand description

Deepest nesting walked. serde_json refuses to parse past 128 levels, so a parsed value never reaches this; a value built in code might, and past it the subtree is shown as REDACTED whole rather than walked on a shrinking stack.