pub trait JsonSerializable: 'static {
    fn into_json_value(self) -> Option<Value>;
}
Expand description

Trait declaring any type that is serializable to JSON. This includes all primitive types (bool, i32, etc.).

Required Methods§

Converts self into json value if its possible

Implementations on Foreign Types§

Implementors§