I am working with raw json data extracted from a .csv file:
[{
"A": "CustomerCode",
"B": "Country",
"C": "CountryCode"
},
{
"A": "C101",
"B": "AUS",
"C": "AUS01",
},
{
"A": "C102",
"B": "AUS",
"C": "AUS02",
}]
Is there a way to remove the first element of the array and change the key names in each object within the array like this:
[{
"CustomerCode": "C101",
"Country": "AUS",
"CountryCode": "AUS01",
},
{
"CustomerCode": "C102",
"Country": "AUS",
"CountryCode": "AUS02",
}]