[][src]Function oxidized_json_checker::validate_bytes

pub fn validate_bytes(bytes: &[u8]) -> Result<JsonType, Error>

A convenient method to check and consume JSON from a bytes slice.