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

pub struct Decoder { /* fields omitted */ }

A structure to decode JSON to values in rust.

Methods

impl Decoder
[src]

[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.

[src]

Read a nil value.

[src]

Read a usize value.

[src]

Read a u8 value.

[src]

Read a u16 value.

[src]

Read a u32 value.

[src]

Read a u64 value.

[src]

Read a isize value.

[src]

Read a i8 value.

[src]

Read a i16 value.

[src]

Read a i32 value.

[src]

Read a i64 value.

[src]

Read a f32 value.

[src]

Read a f64 value.

[src]

Read a bool value.

[src]

Read a char value.

[src]

Read a string value.

[src]

Read an enumeration value. Read more

[src]

Read an enumeration value. Read more

[src]

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

[src]

Read an enumeration value. Read more

[src]

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

[src]

Read an struct value. Read more

[src]

Read a field for a struct value. Read more

[src]

Read a tuple value. Read more

[src]

Read a data item for a tuple. Read more

[src]

Read a tuple struct value. Read more

[src]

Read a data item for a tuple struct. Read more

[src]

Read an optional value. Read more

[src]

Read a sequence of values. Read more

[src]

Read an element in the sequence. Read more

[src]

Read an associative container (map). Read more

[src]

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

[src]

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

[src]

Record a decoding error. Read more