[−][src]Trait simd_json::value::ValueTrait
Associated Types
Loading content...Required methods
fn get(&self, k: &str) -> Option<&Self>
fn get_mut(&mut self, k: &str) -> Option<&mut Self>
fn get_idx(&self, i: usize) -> Option<&Self>
fn get_idx_mut(&mut self, i: usize) -> Option<&mut Self>
fn kind(&self) -> ValueType
fn is_null(&self) -> bool
fn as_bool(&self) -> Option<bool>
fn as_i64(&self) -> Option<i64>
fn as_f64(&self) -> Option<f64>
fn cast_f64(&self) -> Option<f64>
fn as_string(&self) -> Option<String>
Deprecated since 0.1.20:
This will allocate a new string please use as_str instead
fn as_str(&self) -> Option<&str>
fn as_array(&self) -> Option<&Self::Array>
fn as_array_mut(&mut self) -> Option<&mut Self::Array>
fn as_object(&self) -> Option<&Self::Map>
fn as_object_mut(&mut self) -> Option<&mut Self::Map>
Provided methods
fn is_bool(&self) -> bool
fn as_i128(&self) -> Option<i128>
fn is_i128(&self) -> bool
fn is_i64(&self) -> bool
fn as_i32(&self) -> Option<i32>
fn is_i32(&self) -> bool
fn as_i16(&self) -> Option<i16>
fn is_i16(&self) -> bool
fn as_i8(&self) -> Option<i8>
fn is_i8(&self) -> bool
fn as_u128(&self) -> Option<u128>
fn is_u128(&self) -> bool
fn as_u64(&self) -> Option<u64>
fn is_u64(&self) -> bool
fn as_usize(&self) -> Option<usize>
fn is_usize(&self) -> bool
fn as_u32(&self) -> Option<u32>
fn is_u32(&self) -> bool
fn as_u16(&self) -> Option<u16>
fn is_u16(&self) -> bool
fn as_u8(&self) -> Option<u8>
fn is_u8(&self) -> bool
fn is_f64(&self) -> bool
fn as_f32(&self) -> Option<f32>
fn is_f32(&self) -> bool
fn is_string(&self) -> bool
Deprecated since 0.1.20:
Please use is_str instead