pub type JsonParserFn = Arc<dyn Fn(&Bytes) -> Result<Value, String> + Send + Sync>;Expand description
Parses response bytes into serde_json::Value before deserializing to T.
Prefer leaving the client without a custom parser when you do not need transforms; see the module-level documentation for the fast path vs two-step behavior.
Aliased Type§
pub struct JsonParserFn { /* private fields */ }