[go: up one dir, main page]

Function sonic_rs::get_unchecked

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

get_unchecked returns the raw value from path.

Safety

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