Function rustc_serialize::json::decode
[−]
[src]
pub fn decode<T: Decodable>(s: &str) -> DecodeResult<T>
Shortcut function to decode a JSON &str
into an object
pub fn decode<T: Decodable>(s: &str) -> DecodeResult<T>
Shortcut function to decode a JSON &str
into an object
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, type
, macro
,
and const
.
Search functions by type signature (e.g.
vec -> usize
)