Skip to main content

list_from_str

Function list_from_str 

Source
pub fn list_from_str(text: &str, elem_ty: &Type) -> Result<Value, Error>
Expand description

Decode a JSON array (string) into a Value::List, using elem_ty as the per-element type.