Remove a JSON attribute [duplicate]

Simple:

delete myObj.test.key1;

Leave a Comment