Skip to main content

extract_array

Function extract_array 

Source
pub fn extract_array<'a>(json: &'a Value, ctx: &str) -> Result<&'a Vec<Value>>
Expand description

Extract the top-level array from a JSON value, or fail with a consistent diagnostic that includes the URL/context.