I am working with a JSON data stored in a variable.
Here is the JSON Data:
var employees = {"emp":{{"firstName":"John"},{"secondName":"John"}}};
My goal is to remove the emp node from the above JSON Data and have it as follows:
{{"firstName":"John"},{"secondName":"John"}};
Is there a way to achieve this using JavaScript?