So I have the following JSON that is being displayed on an order confirmation page:
var orderDetails = {
"orderID": "o32770183",
"orderQty": 3,
"orderTotal": 575.97,
"orderShipping": 49.97,
"orderDiscount": 0,
"orderTax": 39.74,
"orderCity": "Norwalk",
"orderState": "Connecticut",
"itemId": [
"sku500134",
"sku230312",
"sku133846"
],
"itemQty": [
1,
1,
1
],
"itemPrice": [
159.99,
225.99,
189.99
],
"itemName": [
"The 'Inaugural' Raymond R Cabernet Sauvignon",
"H de l'Hospitalet",
"Chateau Florie Aude"
]
}
What would be the best approach to pulling the data out?
;)