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.
pub fn within<T>(
json: &Json,
step: &str,
read: impl FnOnce(&Json) -> Result<T, DecodeError>,
) -> Result<T, DecodeError>What read makes of json, any failure located inside step.