Skip to main content

vec_from_value

Function vec_from_value 

Source
pub fn vec_from_value<T>(v: &Value, decode: fn(Value) -> T) -> Vec<T>
Expand description

Walk a Value::Arr and decode each element with the supplied from_value constructor.