Trait json_value::JsonValueWrap
source · [−]pub trait JsonValueWrap where
Self: Sized, {
fn as_boolean(&self) -> Option<&bool>;
fn as_array(&self) -> Option<&Vec<Self>>;
fn as_string(&self) -> Option<&String>;
fn as_object(&self) -> Option<&Map<String, Self>>;
fn into_boolean(self) -> Option<bool>;
fn into_string(self) -> Option<String>;
fn into_array(self) -> Option<Vec<Self>>;
fn into_object(self) -> Option<Map<String, Self>>;
}
Expand description
Attempt to convert json value to specified type