Skip to main content

estimate_json_size

Function estimate_json_size 

Source
pub fn estimate_json_size(val: &Value) -> usize
Expand description

Rough byte-size estimate for a serde_json::Value without allocating a string.