Trait AsJson
yarte::json
pub trait AsJson { fn __as_json(&self) -> Json<Self> where Self: Serialize; }
fn __as_json(&self) -> Json<Self> where Self: Serialize,
impl<S> AsJson for S
fn __as_json(&self) -> Json<S> where S: Serialize,