Some Student data i get from a remote #Json File. now I want to #Decode that #JsonFile into #Elm in a way where i can count Total Number Of Student passed in every School, and a grand total of Student failed in all school. i appreciate your time. thank you so much [ NB: newbe]
{
“SchoolA”: [
{
“date”: “2020-1-1”,
“passed”: 2,
“failed”: 0,
},
{
“date”: “2020-1-2”,
“passed”: 3,
“failed”: 6,
},
…
],
“CollageB”: [
{
“date”: “2020-1-1”,
“passed”: 50,
“failed”: 20,
},
{
“date”: “2020-1-2”,
“passed”: 10,
“failed”: 30,
},
…
],
“UniversityC”: [
{
“date”: “2020-1-1”,
“passed”: 100,
“failed”: 50,
},
{
“date”: “2020-1-2”,
“passed”: 15,
“failed”: 25,
},
…
],