[][src]Struct rustc_serialize::json::Decoder

pub struct Decoder { /* fields omitted */ }

A structure to decode JSON to values in rust.

Methods

impl Decoder
[src]

Creates a new decoder instance for decoding the specified JSON value.

Trait Implementations

impl Decoder for Decoder
[src]

The error type for method results.

Read a nil value.

Read a usize value.

Read a u8 value.

Read a u16 value.

Read a u32 value.

Read a u64 value.

Read a isize value.

Read a i8 value.

Read a i16 value.

Read a i32 value.

Read a i64 value.

Read a f32 value.

Read a f64 value.

Read a bool value.

Read a char value.

Read a string value.

Read an enumeration value. Read more

Read an enumeration value. Read more

Read an unnamed data item for an enumeration variant. Read more

Read an enumeration value. Read more

Read a named data item for an enumeration variant. Read more

Read an struct value. Read more

Read a field for a struct value. Read more

Read a tuple value. Read more

Read a data item for a tuple. Read more

Read a tuple struct value. Read more

Read a data item for a tuple struct. Read more

Read an optional value. Read more

Read a sequence of values. Read more

Read an element in the sequence. Read more

Read an associative container (map). Read more

Read the key for an entry in a map. Read more

Read the value for an entry in a map. Read more

Record a decoding error. Read more

Auto Trait Implementations

impl Send for Decoder

impl Sync for Decoder

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Immutably borrows from an owned value. Read more

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

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more