Here is the content from the JSON file:
{
"1": {
"Order Number": "CA-2017-126221",
"Order Status": "Completed",
"Order Date": "30/12/2017",
"First Name (Billing)": "Abdul",
"State Code (Shipping)": "SD",
"Postcode (Shipping)": "75100",
"Shipping Method Title": "Free shipping",
"Payment Method Title": "Cash on delivery"
},
"2": {
"Order Number": "CA-2017-143259",
"Order Status": "Completed",
"Order Date": "30/12/2017",
"City (Shipping)": "Sanghar",
"State Code (Shipping)": "SD",
"Postcode (Shipping)": "68100",
"Shipping Method Title": "Free shipping",
"Payment Method Title": "Cash on delivery"
}
}
My goal is to remove the IDs (1, 2, 3, etc.) from the JSON file and convert it into an array. This will allow me to access the values using the .map() method in React.