I have variable that contain data structure like this:
{
"john" = [
Data(date=2020-1-22, age=23),
Data(date=2020-1-24, age=24),
Data(date=2020-1-25, age=25)
],
"Bob" = [
Data(date=2023-1-22, age=34),
Data(date=2018-1-22, age=75),
Data(date=2020-2-22, age=16)
]
}
What is the best way to iterate over this structure in order to display it nicely/sum specific data etc..