pub unsafe fn get_bytes<'a>(json: &'a [u8], path: &'a str) -> Value<'a>Expand description
Searches json for the specified path.
Works the same as get except that the input json is a a byte slice
instead of a string.
§Safety
This function is unsafe because it does not check that the bytes passed to
it are valid UTF-8. If this constraint is violated, undefined behavior
results, as the rest of Rust assumes that &strs in Value<’a> are
valid UTF-8.