Hi,
I've been trying to parse some nested JSON but I cannot get my head around it. I can do it if it's only one level (nodes?) but if there are multiple levels I cannot do it.
The desired output is like this, where name, start_time and end_time are unique
| name | start_time | end_time | in | out | abandon |
| StoreEntrance.Door1.Left | 2017-10-10T00:00:00.000+01:00 | 2017-10-10T00:04:59.999+01:00 | 1 | 0 | 0 |
| StoreEntrance.Door1.Left | 2017-10-10T00:05:00.000+01:00 | 2017-10-10T00:09:59.999+01:00 | 0 | 1 | 0 |
| StoreEntrance.Door1.Right | 2017-10-10T00:00:00.000+01:00 | 2017-10-10T00:04:59.999+01:00 | 0 | 3 | 0 |
| StoreEntrance.Door1.Right | 2017-10-10T00:05:00.000+01:00 | 2017-10-10T00:09:59.999+01:00 | 2 | 0 | 0 |
I attached the JSON file that I try to parse this way (I had to rename it as .txt because .json is not a supported attachment file type)
Any help would be appreciated.
Alex