This project has moved and is read-only. For the latest updates, please go here.

JSon with class name as root key value

Feb 28, 2012 at 9:49 AM

We are using Spring MVC as the back end in Java, where the entities are converted to Json with the class name as the root key value - for instance - 

this is achieved in java / spring framework with the line - 
objectMapper.configure(SerializationConfig.Feature.WRAP_ROOT_VALUE, true);
In JSon.NET do we have any properties which can make the class name be part of the json as the root key?