Skip to main content

within

Function within 

Source
pub fn within<T>(
    json: &Json,
    step: &str,
    read: impl FnOnce(&Json) -> Result<T, DecodeError>,
) -> Result<T, DecodeError>
Expand description

What read makes of json, any failure located inside step.