Function sonic_rs::lazyvalue::get_from_slice
source · pub fn get_from_slice<Path: Iterator>(
json: &[u8],
path: Path
) -> Result<LazyValue<'_>>where
Path::Item: PointerTrait,Expand description
get_from_slice returns the raw value from json path.
Note: the JSON must be valid and well-formed, otherwise it may return unexpected result.