pub trait ToJson {
    fn to_json(&self) -> Json;
}
Expand description

A trait for converting values to JSON

Required Methods

Converts the value of self to an instance of JSON

Implementations on Foreign Types

Implementors