pub fn encoded_document_len(value: &Value) -> Result<usize, DocumentError>Expand description
Returns the exact canonical envelope length without allocating the encoded document.
ยงErrors
Returns the same depth, node, payload, or arithmetic-limit errors as
encode_document.