Ok I understand how to get normal JSON files into php variables with json_encode(); However, the json file I'm working with looks something like this:
Code:
{"daily":
{"1319846400000":250,"131993280000000",189"},"average":
{"1319846400000":190,"131993280000000",189"}}
There are 180 different daily prices with a 180 day running average (the long row of numbers is a timestamp in ms from Jan 1, 1970).
My question is how do I import this data into a table with id, timestamp, price, 180_average, one row per day?