Function oasis_cbor::reader::read_nested_non_strict
source · pub fn read_nested_non_strict(
encoded_cbor: &[u8],
max_nest: Option<i8>
) -> Result<Value, DecoderError>
Expand description
Deserialize CBOR binary data to produce a single Value
. If max_nest
is Some(max)
, then
nested structures are only supported up to the given limit (returning
DecoderError::TooMuchNesting
if the limit is hit).