json_decode

Function map

Source
pub fn map<'a, F, T1, NewDecodesTo>(
    func: F,
    d1: BoxDecoder<'a, T1>,
) -> BoxDecoder<'a, NewDecodesTo>
where F: Fn(T1) -> NewDecodesTo + 'a + Send + Sync, NewDecodesTo: 'a, T1: 'a,