[][src]Enum jsxn::json::JsonValue

pub enum JsonValue {
    Str(String),
    Boolean(bool),
    Num(f64),
    Array(Vec<JsonValue>),
    Object(BTreeMap<String, JsonValue>),
    Null,
    JsxValue(Box<JsxValue>),
}

A JSON value

Variants

Str(String)

A JSON string

Boolean(bool)

A JSON boolean

Num(f64)

A JSON number

Array(Vec<JsonValue>)

A JSON array

A JSON object

Null

A JSON null value

JsxValue(Box<JsxValue>)

A JSX value

Trait Implementations

impl Clone for JsonValue[src]

impl Debug for JsonValue[src]

impl PartialEq<JsonValue> for JsonValue[src]

impl Serialize for JsonValue[src]

impl StructuralPartialEq for JsonValue[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.