How to add,modify or remove attribute from a json string?

how to add,modify or remove attribute from a json string?

Do you mean Java Script Object Notation? Visit json.org for more

Suppose if you have a JSON object as

a = { 'A' : 1, 'B': 2 };

To delete the key ‘A’, use:

delete a.A;
//For testing:
console.log( a );