Suppose a class Foo with 2 properties, PropertyA and PropertyB.
With JSON.NET i would like to use the DefaultContractResolver for serializing PropertyA and the CamelCasePropertyNamesContractResolver for serializing PropertyB.
So that the resultant serialized class would look like this.
Foo.PropertyA
Foo.propertyB
Is there a way to do this with JSON.NET?
Extra credit, i would prefer to denote which properties to serialize using the CamelCasePropertyNamesContractResolver by using an attibute.