pub trait JsonDecodeExt {
// Required method
fn parse_json<T>(&self) -> Result<T, Error>
where T: DeserializeOwned,
Self: AsRef<[u8]>;
}Required Methods§
fn parse_json<T>(&self) -> Result<T, Error>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.