I have this array:
my_json = [
{
"DontNeed":"Remove",
"year":"2015",
"Some name": "some value"
},
{
"DontNeed":"Remove",
"year":"2016",
"Some name": "another value"
},
];
I want to have that JSON like this:
new_json = [
{
"year":"2015",
"Some name": "some value"
},
{
"year":"2016",
"Some name": "another value"
},
];
Is there a way to do this? an known function?