Unjson

Trait Unjson 

Source
pub trait Unjson {
Show 16 methods // Required methods fn into_array(self) -> Result<Array>; fn into_array_opt(self) -> Result<Option<Array>>; fn into_string(self) -> Result<String>; fn into_string_opt(self) -> Result<Option<String>>; fn into_object(self) -> Result<Object>; fn into_object_opt(self) -> Result<Option<Object>>; fn into_bool(self) -> Result<bool>; fn into_bool_opt(self) -> Result<Option<bool>>; fn into_i64(self) -> Result<i64>; fn into_i64_opt(self) -> Result<Option<i64>>; fn into_u64(self) -> Result<u64>; fn into_u64_opt(self) -> Result<Option<u64>>; fn into_f64(self) -> Result<f64>; fn into_f64_opt(self) -> Result<Option<f64>>; fn into_number(self) -> Result<f64>; fn into_number_opt(self) -> Result<Option<f64>>;
}

Required Methods§

Implementations on Foreign Types§

Source§

impl Unjson for Value

Implementors§