[−][src]Enum json_flex::JFObject
Variants
String(String)
Integer(i64)
Float(f64)
Methods
impl JFObject
[src]
pub fn into_string(&self) -> Option<&String>
[src]
pub fn into_i64(&self) -> Option<&i64>
[src]
pub fn into_f64(&self) -> Option<&f64>
[src]
pub fn into_hashmap(&self) -> Option<&HashMap<String, JFObject>>
[src]
pub fn into_vec(&self) -> Option<&Vec<JFObject>>
[src]
pub fn is_null(&self) -> bool
[src]
pub fn is_true(&self) -> bool
[src]
pub fn is_false(&self) -> bool
[src]
pub fn is_array(&self) -> bool
[src]
pub fn is_dictionary(&self) -> bool
[src]
pub fn is_string(&self) -> bool
[src]
pub fn is_integer(&self) -> bool
[src]
pub fn is_float(&self) -> bool
[src]
pub fn unwrap_string(&self) -> &String
[src]
pub fn unwrap_i64(&self) -> &i64
[src]
pub fn unwrap_f64(&self) -> &f64
[src]
pub fn unwrap_hashmap(&self) -> &HashMap<String, JFObject>
[src]
pub fn unwrap_vec(&self) -> &Vec<JFObject>
[src]
pub fn to_json(&self) -> String
[src]
Trait Implementations
impl Clone for JFObject
[src]
impl Debug for JFObject
[src]
impl Decodable for JFObject
[src]
impl<'a> Index<&'a str> for JFObject
[src]
type Output = JFObject
The returned type after indexing.
fn index<'b>(&'b self, id: &str) -> &'b Self::Output
[src]
impl Index<String> for JFObject
[src]
type Output = JFObject
The returned type after indexing.
fn index<'a>(&'a self, id: String) -> &'a Self::Output
[src]
impl Index<usize> for JFObject
[src]
type Output = JFObject
The returned type after indexing.
fn index<'a>(&'a self, id: usize) -> &'a Self::Output
[src]
impl Unwrap<HashMap<String, JFObject, RandomState>> for JFObject
[src]
impl Unwrap<String> for JFObject
[src]
impl Unwrap<Vec<JFObject>> for JFObject
[src]
impl Unwrap<f64> for JFObject
[src]
impl Unwrap<i64> for JFObject
[src]
Auto Trait Implementations
impl RefUnwindSafe for JFObject
impl Send for JFObject
impl Sync for JFObject
impl Unpin for JFObject
impl UnwindSafe for JFObject
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,