pub fn array_mut<'v>(
value: &'v mut Value,
path: &'static [&'static str],
) -> Result<&'v mut Vec<Value>, ShapeError>Expand description
The array at path inside value, creating it as [] when absent or
null, and every absent or null step above it as {}.
§Errors
ShapeError::Wrong naming the first step that holds something other
than an object (above the leaf) or an array (at the leaf), or null.