Nov 11, 2009 at 11:20 AM
Edited Nov 11, 2009 at 11:30 AM
There is no way to create a custom serializer for a class or can this somehow be accomplished via a ContractResolver.
If not what are my options here (hopefully without rewriting all these classes)
Let me add that I am using ExtJS which utilizes your library for JSON serialization and am not sure at this point in time if I even have the option to replace my JSON serialization with an alternative mechanism and am looking for the simplest and easiest
mechanism to get my JSON in the form expected by ExtJS.
I could always write a bunch of UI wrapper / adapter classes (or even dynamic proxies) but that solution probably isn't going to be all the clean in the long run.
Thanks in advance.