Function decode_json
pub fn decode_json<T>(bytes: &[u8]) -> Result<T, Error>where
T: DeserializeOwned,Expand description
A T from its JSON bytes, through a JSON value: one byte parser for
every action type, compiled here, rather than one per type and crate.
ยงErrors
Why the bytes are not a T.