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

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