pub fn run<T, I, E>( deserialize: impl Fn(I) -> Result<Value, E>, decoder: impl Decoder<Output = T>, input: I, ) -> Result<T>where E: Error + Send + Sync + 'static,
Runs a Decoder using the given function to deserialize a Value from the given input.
Decoder
Value