I have a class that contains an enum property, and upon serializing the object using JavaScriptSerializer, my json result contains the integer valu
enum
JavaScriptSerializer
new JavaScriptSerializer().Serialize( (from p in (new List() { new Person() { Age = 35, Gender = Gender.Male } }) select new { Age =p.Age, Gender=p.Gender.ToString() } ).ToArray()[0] );