Skip to main content

parse_json

Function parse_json 

Source
pub fn parse_json<T: DeserializeOwned>(
    bytes: &Bytes,
) -> Result<T, FrameworkError>
Expand description

Parse bytes as JSON into the target type