Trait poem_openapi::types::ToJSON[][src]

pub trait ToJSON: Type {
    fn to_json(&self) -> Value;
}
Expand description

Represents a type that can converted to JSON.

Required methods

Convert this value to serde_json::Value.

Implementations on Foreign Types

Implementors