Skip to main content

record

Function record 

Source
pub fn record<T>(
    v: &Value,
    element: impl FnMut(&Value) -> Result<T>,
) -> Result<Vec<(String, T)>>
Expand description

v.record(element), keeping the object’s order.