一个JSON如下

var myObj = {'test' : {'key1' : 'value', 'key2': 'value'}}

使用 delete 来删除一个属性

delete myObj.test.key1;