[go: up one dir, main page]

Function sonic_rs::lazyvalue::get_from

source ·
pub fn get_from<'de, Input, Path: Iterator>(
    json: Input,
    path: Path
) -> Result<LazyValue<'de>>where
    Input: JsonInput<'de>,
    Path::Item: PointerTrait,
Expand description

get_from returns the raw value from json path.

Note: the JSON must be valid and well-formed, otherwise it may return unexpected result.