pub fn estimate_size<T: IntoValue>(value: Option<&T>) -> usize
Estimates the size in bytes this would be in JSON.