Skip to main content

MAX_JSON_BYTES

Constant MAX_JSON_BYTES 

Source
pub const MAX_JSON_BYTES: usize = _; // 1_073_741_824usize
Expand description

Default upper bound on serde_json payload size accepted by [RandomCutForest::from_json] / [ThresholdedForest::from_json]. JSON encodings are roughly 4× the binary equivalent (utf-8 floats, field-name overhead) so the cap is correspondingly larger.