pub fn is_collection(value: &Value) -> boolExpand description
True if value is a first-class collection (list/record) rather than a
scalar. Value::Json also carries JSON scalars (numbers/strings/bool/null
unwrapped at the value boundary — see json_to_value_no_envelope), so
this only matches the two container variants.