Skip to main content

decode_json

Function decode_json 

pub fn decode_json<T>(bytes: &[u8]) -> Result<T, Error>
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.