Function turbo_json_checker::validate_bytes[][src]

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

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