1

Closed

DefaultContractResolver.ResolvePropertyName should be public

description

There're two JsonConverters (DataSetConverter and DataTableConverter) where DefaultContractResolver.ResolvePropertyName is called. These converters aren't any implementation details (i.e. internal) but converters for some particular (through popular) types. If I need to create my own converter then obviously I also need to access to DefaultContractResolver.ResolvePropertyName. It's needed for appropriate casing of property name (camel vs Pascal).
But I have no access to DefaultContractResolver.ResolvePropertyName (as it's internal). It's a pity.
Please make it public.
Closed May 30, 2012 at 7:48 AM by JamesNK
Added a public GetResolvedPropertyName method.

comments