Trait simd_json::prelude::TypedContainerValue

source ·
pub trait TypedContainerValue {
    // Required methods
    fn is_array(&self) -> bool;
    fn is_object(&self) -> bool;
}
Expand description

Prelude to include needed traits Type checks for container values on a value

Required Methods§

source

fn is_array(&self) -> bool

returns true if the current value can be represented as an array

source

fn is_object(&self) -> bool

returns true if the current value can be represented as an object

Implementors§