Char enums conversion

Mar 26, 2009 at 11:34 AM
Hi James,

Currently a char enum is converted in json to an integer. Would it not make sense to convert it to a char by default?

Thanks
Coordinator
Mar 26, 2009 at 9:33 PM
Each choice has its pros and cons. You could easily write a JsonConverter that writes Enums as a string instead of an integer. If you do, it would be awesome if you posted the code here. It would be something that could be useful to a number of people.
Coordinator
Mar 29, 2009 at 2:41 AM
I added a converter myself. There is now a EnumStringConverter in the latest version of the source code.
Mar 29, 2009 at 7:25 PM
Thanks again. That's great!!!