Is there an automatic way in Json.NET to automatically map JSON properties from lower case underscore to pascal case no underscore. I know you can add json attributes to each property but is that the only way?
My JSON is like this:
{
"first_name": "Roger",
"last_name": "The Shrubber"
}
Here is the class:
public class Customer
{
public FirstName { get; set; }
public LastName { get; set; }
}