Trait chewdata::helper::value::Flatten

source ·
pub trait Flatten {
    // Required method
    fn flatten(&self) -> Result<Map<String, Value>>;
}
Expand description

Trait used to flat a Json Values

Required Methods§

source

fn flatten(&self) -> Result<Map<String, Value>>

Method use to get all the attributes from the object.

Implementations on Foreign Types§

source§

impl Flatten for Value

Implementors§