Trait poem_openapi::types::ParseFromJSON
source ·
[−]pub trait ParseFromJSON: Sized + Type {
fn parse_from_json(value: Value) -> ParseResult<Self>;
}
Expand description
Represents a type that can parsing from JSON.
Required methods
fn parse_from_json(value: Value) -> ParseResult<Self>
fn parse_from_json(value: Value) -> ParseResult<Self>
Parse from serde_json::Value
.