Jan-25-2021, 12:57 PM
Can someone please help me parse this json object?
The second is a date, to which there will be thousands.
Then I want to grab the key and value within each date.
I am looking to get Product ID, Date, A, B, and C into python variables.
I am just really struggling with this.
{ "12345": { "2021-01-20": { "a": 1, "b": 3, "c": 0 }, "2021-01-21": { "a": 1, "b": 3, "c": 0 } }, "12346": { "2021-01-20": { "a": 1, "b": 3, "c": 0 }, "2021-01-21": { "a": 1, "b": 3, "c": 0 } } }The first number is a product ID, to which there are many.
The second is a date, to which there will be thousands.
Then I want to grab the key and value within each date.
I am looking to get Product ID, Date, A, B, and C into python variables.
I am just really struggling with this.