pub const MAX_JSON_DEPTH: usize = 128;Expand description
Maximum nesting depth of an opaque JSON payload (an island’s props), in
container levels from the bag.
The recursive consumers (key sorting, serde_json::Value’s own Drop) spend
a frame per level, so an unbounded bag overflows the stack: on wasm32 an
unrecoverable trap, not a catchable error. Matches serde_json::from_str’s
own limit, so nothing a stored blob can carry is refused.