Trait serialize::json::ToJson [] [src]

pub trait ToJson {
    fn to_json(&self) -> Json;
}
Unstable

: deprecated in favor of rustc-serialize on crates.io

A trait for converting values to JSON

Required Methods

fn to_json(&self) -> Json

Unstable

: deprecated in favor of rustc-serialize on crates.io

Converts the value of self to an instance of JSON

Implementors