pub trait ParseJson {
// Required method
fn parse_json_with_data_err<T>(self) -> Result<T, JsonParseError<Self>>
where T: for<'de> Deserialize<'de>,
Self: Sized;
}Expand description
Trait alows parse String or &str to native rust returning JsonParseError with original data
which we tried parse.