logo
pub trait ParseFromJSON: Sized + Type {
    fn parse_from_json(value: Option<Value>) -> ParseResult<Self>;

    fn parse_from_json_string(s: &str) -> ParseResult<Self> { ... }
}
Expand description

Represents a type that can parsing from JSON.

Required Methods

Provided Methods

Parse from JSON string.

Implementations on Foreign Types

Implementors