Skip to main content

object_or_array_entries

Function object_or_array_entries 

Source
pub fn object_or_array_entries(
    jsonb_bytes: &[u8],
) -> Result<Option<Vec<(String, Vec<u8>)>>, DataFusionError>
Expand description

Object → (field name, value); array → (index as string, value). Ok(None) if the input is a JSON scalar (neither an object nor an array).