I am needing to add one object to another and not sure how.I need to add phonegroup to the forward object that is inside of the frontdesk object. Does anyone know how this can be done? mind you there is potential for a different object to be attached to forward as well so this has to be something that is scale-able
var frontdesk = {
"frontdesk": {
"user": "",
"waittime": "",
"forward": {}
}
}
var phonegroup = {
"phonegroup": {
"name": "",
"users": [
"",
"",
""
],
"noanswer": {
"forwardafterrings": "",
"forwardafterseconds": "",
"forwardto": ""
}
}
}