pub fn from_bytes(
bytes: &[u8],
root: SchemaId,
registry: &Registry,
) -> Result<Value, CompactError>Expand description
Decode a value of schema root from bytes, rejecting trailing bytes.
ยงErrors
CompactError for malformed input or an unsupported kind.