add new element to existing json object code example Example: add new element to existing json object json = JSON.stringify(jsObj); console.log(json)