delete myObj.test.key1;
delete candidate.skills;
jsonArray.splice(2, 1) meaning : delete 1 item at position 3 ( because array is counted form 0, then item at no 3 is counted as no 2 )
var skill = "javascript"; delete candidate[skill];