Some frameworks like JSON.NET, you can serialize an object to json CamelCase naming like this:
User user1 = new User
{
UserName = "jamesn",
Enabled = true
};
DefaultContractResolver contractResolver = new DefaultContractResolver
{
NamingStrategy = new CamelCaseNamingStrategy()
};
string json = JsonConvert.SerializeObject(user1, new JsonSerializerSettings
{
ContractResolver = contractResolver,
Formatting = Formatting.Indented
});
Is there any similar way how to do this using Manatee.JSON? I haven't found any documentation about this scenario.