javascript remove item from json object code example
Example 1: remove element json javascript
var skill = "javascript";
delete candidate[skill];
Example 2: remove element json javascript
delete candidate.skills;
Example 3: remove json javascript
delete myObj.test.key1;
Example 4: javascript remove json element
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 )