pub fn bcs_to_json( bytes: &[u8], format: &Format, registry: &Registry, ) -> Result<Value>
Decode BCS-serialized bytes into a serde_json::Value, guided by format and the container registry.
bytes
serde_json::Value
format
registry