I have a JSON structure in a field that looks like this. I'm trying to extract the task viewed and completed date, there could be any number of tasks in each field.
Sample data
"task_1a232445": {
"completedDate": {
"_seconds": 1670371200,
"_nanoseconds": 516000000
},
"viewedDate": {
"_seconds": 1666652400,
"_nanoseconds": 667000000
}
},
"task_1a233445": {
"completedDate": {
"_seconds": 1670198400,
"_nanoseconds": 450000000
},
"viewedDate": {
"_seconds": 1674000000,
"_nanoseconds": 687000000
}
}
}
I have tried to adapt this previous question I asked, but where there are multiple tasks in a single row (as sample data) I can only return the first completedDate