[][src]Trait dubp_documents::ToJsonObject

pub trait ToJsonObject: ToStringObject {
    fn to_json_string(&self) -> Result<String, Error> { ... }
fn to_json_string_pretty(&self) -> Result<String, Error> { ... } }

Jsonify a document

Provided methods

fn to_json_string(&self) -> Result<String, Error>

Convert to JSON String

fn to_json_string_pretty(&self) -> Result<String, Error>

Convert to JSON String pretty

Loading content...

Implementors

Loading content...