pub trait FromJson<'s> {
// Required method
fn from_json<'a>(
json: &'s mut str,
datainfo: &DataInfo<'a>,
) -> Result<'a, Self>
where Self: Sized;
}
Expand description
Parse a value from JSON and validate it against the given DataInfo
.