Trait dvb::prelude::EasyJson [] [src]

pub trait EasyJson {
    fn access<'a>(&'a self, path: &'a str) -> Option<&'a JsonValue>;

    fn get<'a>(json: &'a JsonValue, key: &str) -> Option<&'a JsonValue> { ... }
    fn get_path<'a>(json: &'a JsonValue, path: &[&str]) -> Option<&'a JsonValue> { ... }
}

Required Methods

Provided Methods

Wrapper around get_path().

Splits path string and replaces JsonValue::Null and JsonValue::BadValue.

Returns content at path in the json document.

Implementors