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
Just in case anybody finds the above insufficient, I ended up settling with this overload:
JsonConvert.SerializeObject(objToSerialize, Formatting.Indented, new Newtonsoft.Json.Converters.StringEnumConverter())