Skip to main content

DEFAULT_MAX_BUFFERED_BYTES

Constant DEFAULT_MAX_BUFFERED_BYTES 

pub const DEFAULT_MAX_BUFFERED_BYTES: usize = _; // 8_388_608usize
Expand description

Default maximum buffered JSON input before tokenization must make progress.

This bounds a single incomplete token, plus any surrounding bytes that have not yet been emitted. Callers that accept very large scalar values can raise the limit explicitly.