I have:
enum StudentType { FullTime = 0, PartTime = 1, TeacherAssistant = 2 }
interface User { firstName: string; lastName: string; username: string; emailAddress: string; studentTypes: StudentType[] }
output becomes:
{ "Admin": { "firstName": "Libbie", "lastName": "Kuhic", "username": "Forest_Block", "emailAddress": "[email protected]", "studentTypes": [ {}, {}, {} ], "adminRecord": { "studentsPassedEachYear": [ 64163 ] } }, }
expected:
{ "Admin": { "firstName": "Libbie", "lastName": "Kuhic", "username": "Forest_Block", "emailAddress": "[email protected]", "studentTypes": [ 0,1,2 ], "adminRecord": { "studentsPassedEachYear": [ 64163 ] } }, }