Based on Diego's unanswered comment under the top-voted answer in this question:
JSON serialization of enum as string
So for an enum:
public enum ContactType
{
Phone = 0,
Email = 1,
Mobile = 2
}
And for eg. a property:
//could contain ContactType.Phone, ContactType.Email, ContactType.Mobile
IEnumerable<ContactType> AvailableContactTypes {get;set;}
To something like the JSON:
{ContactTypes : ['Phone','Email','Mobile']}
instead of
{ContactTypes : [0,1,2]}
As is the case with the normal JavaScriptSerializer?