pub trait AsAnyJson<K: JsonBuild> {
    fn as_json_with(&self, meta: K::MetaData) -> K;

    fn as_json(&self) -> K
    where
        K::MetaData: Default
, { ... } }
Expand description

Type that can be converted into a K JSON value.

Required methods

Converts this value into a K JSON value using the given meta value as metadata.

Provided methods

Converts this value into a K JSON value using the default metadata value.

Implementations on Foreign Types

Implementors