remove an object from json javascript code example Example: remove json javascript delete myObj.test.key1;