fn build_json(&self, mut objects: Vec<String>) -> String {
        let mut out = String::from(
            r#"{
            "data":[
        "#,
        );
        for i in 0..objects.len() {
            out.push_str(&mut objects[i]);
            if i < objects.len() - 1 {
                out.push_str(&mut r#","#);
            }
        }
        out.push_str(&mut r#"] }"#);
        out
    }
/// build json is used to build output json from the given vector of jsons.
build json is used to build output json from the given vector of jsons.
build json is used to build output json from the given vector of jsons .
fn build_json(&self, mut objects: Vec<String>) -> String {
        let mut out = String::from(
            r#"{
            "data":[
        "#,
        );
        for i in 0..objects.len() {
            out.push_str(&mut objects[i]);
            if i < objects.len() - 1 {
                out.push_str(&mut r#","#);
            }
        }
        out.push_str(&mut r#"] }"#);
        out
    }
fn build_json ( & self , mut objects : Vec < String > ) -> String { let mut out = String :: from ( r#"{
            "data":[
        "# , ) ; for i in 0 .. objects . len ( ) { out . push_str ( & mut objects [ i ] ) ; if i < objects . len ( ) - 1 { out . push_str ( & mut r#","# ) ; } } out . push_str ( & mut r#"] }"# ) ; out }
build json is used to build output json from the given vector of jsons.
build json is used to build output json from the given vector of jsons .
&self
objects
Vec<String>