pub fn estimate_json_size(val: &Value) -> usize
Rough byte-size estimate for a serde_json::Value without allocating a string.