how to get exact copy of json as list code example Example: clone javascript object let clone = Object.assign({}, objToClone);