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 - 

{"MyPojo":{"id":4}}
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?

Regards
Baliga