pub fn json_parser<F>( f: F, ) -> Arc<dyn Fn(&Bytes) -> Result<Value, String> + Send + Sync> ⓘwhere F: Fn(&Bytes) -> Result<Value, String> + Send + Sync + 'static,
Wraps a custom JSON parse function for use with ClientBuilder::json_parser.
ClientBuilder::json_parser