Trait generic_json::Json[][src]

pub trait Json: Sized + 'static {
    type MetaData;
    type Value: MetaValue<Self>;
    type Number;
    type String: AsRef<str>;
    type Array: Get<usize, Item = Self::Value> + Len + Iter + IntoIterator<Item = Self::Value>;
    type Key: AsRef<str>;
    type Object: Keyed<Key = Self::Key, Item = Self::Value> + Len + for<'a> Get<&'a str> + MapIter + IntoIterator<Item = (Self::Key, Self::Value)>;
}
Expand description

JSON model.

Associated Types

Metadata type attached to each value.

Value type associated to some metadata.

Literal number type.

String type.

Array type.

Object key type.

Object type.

Implementors