Struct flatten_json::Flattener [−][src]
Fields
flat_array: bool
flat_key_cb: fn(_: &Vec<&str>) -> String
Methods
impl Flattener
[src]
impl Flattener
pub fn new() -> Flattener
[src]
pub fn new() -> Flattener
pub fn flatten_from_str(&self, json: &str) -> Result<String, Error>
[src]
pub fn flatten_from_str(&self, json: &str) -> Result<String, Error>
pub fn flatten_from_value(&self, value: &Value) -> Result<String, Error>
[src]
pub fn flatten_from_value(&self, value: &Value) -> Result<String, Error>
Trait Implementations
impl Clone for Flattener
[src]
impl Clone for Flattener
fn clone(&self) -> Flattener
[src]
fn clone(&self) -> Flattener
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for Flattener
[src]
impl Default for Flattener