Function jsonb::get_by_keypath

source ยท
pub fn get_by_keypath<'a, I: Iterator<Item = &'a KeyPath<'a>>>(
    value: &[u8],
    keypaths: I,
) -> Option<Vec<u8>>
Expand description

Extracts JSON sub-object at the specified path, where path elements can be either field keys or array indexes.