Enum simple_json::Json [] [src]

pub enum Json {
    Object(HashMap<String, Json>),
    Array(Vec<Json>),
    String(String),
    Number(Number),
    Boolean(bool),
    Null,
}

Variants

Methods

impl Json
[src]

Trait Implementations

impl Clone for Json
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Json
[src]

Formats the value using the given formatter.

impl PartialEq for Json
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl From<HashMap<String, Json>> for Json
[src]

Performs the conversion.

impl From<Vec<Json>> for Json
[src]

Performs the conversion.

impl From<String> for Json
[src]

Performs the conversion.

impl<'a> From<&'a str> for Json
[src]

Performs the conversion.

impl From<u64> for Json
[src]

Performs the conversion.

impl From<i32> for Json
[src]

Performs the conversion.

impl From<i64> for Json
[src]

Performs the conversion.

impl From<f64> for Json
[src]

Performs the conversion.

impl From<bool> for Json
[src]

Performs the conversion.

impl From<()> for Json
[src]

Performs the conversion.