Skip to main content

MAX_JSON_NODES

Constant MAX_JSON_NODES 

Source
pub const MAX_JSON_NODES: usize = _ /* 1_048_576usize */;
Expand description

Most values (elements, members and containers) an assembled request may contain. A parsed Value costs 16 to 32 times the text of a dense array, so the count, not only the byte length, bounds the memory a parse can take: 1 Mi values is about 32 to 64 MiB.