I'm mapping my arrays (there's quite a bit). So the idea is to just stringify all objects/everything within the array.
const studentInfoObj = students.map(value => (
// for each student return json string of the objects
// how can I just stringify everything within the array?
// but not the array itself. Just all the objects inside?
return JSON.stringify(???);
));
Here's the json currently so s
{"Michael00043":
// stringify from this point
[
{"student_num":"20293290000HJ93",
"campus":"McHale",
"major":"PSI"
},
],
... more objects
[
{"medical_doc":"st.laurance hos",
"emergency_contact":"Adam Harley",
"blood_type":"O"
},
{"hospital":"st.laurance hos",
"ward":"B",
},
]
...
[but no close].