serialization of enum results in int – Asp.net
When i do a GET request to retrieve my list of Persons the enums(Title) get converted into integers: class Person { public Title PersonTitle{ get; set;} public string Name { get; set;} } enum Title { STUDENT, TEACHER, DIRECTOR }…