Concatenate JSON and POST

Hi,

I am trying to concatenate JSON with the this.getFormView().getValues() and stringifying them. But I am getting error from server. Can you please let me know whats the proper method to concatenate a JSON, and send it to the server?

webix.ajax().headers({“Content-type”:“application/json”}).post(“ServerURL”, webix.ajax().stringify({id:accountID,“adresses”: JSON.stringify($$(“addresses”).getValues())}), function(text){
//something
});

Try to use a code like next

webix.ajax()
  .headers({"Content-type":"application/json"})
   .post("ServerURL", JSON.stringify({
          id:accountID,
          adresses: $$("addresses").getValues()
   }), function(text){ //something });