I am making a Report Card System and I would like to know how get a JSON response that consists of seeded data as an array of objects instead of a singular object. So far I used a IDictionary method but it is only giving me one object eg.SubjectMark = { Math:76 }, How do I get all my seeded data instead of one instance , for example:
Report = [{
       Subject:Maths
       Mark: 76
       },
       {
       Subject:IT
       Mark: 90
       },]
or at least
SubjectMark = [{ Math:76 },{ IT:90 }]
I am a beginner please let me know if i should add more context, Thank you.