pub fn encoded_size(v: &Value) -> usizeExpand description
Encode v and return the number of bytes it would occupy.
Returns 0 if v cannot be encoded; use encode_value if you need the
error.
pub fn encoded_size(v: &Value) -> usizeEncode v and return the number of bytes it would occupy.
Returns 0 if v cannot be encoded; use encode_value if you need the
error.