ServiceStack/ServiceStack.Text — Issue #41: Make JSON Serializer/Deserializer obey DataMember attribute Name property
Author: mwhouser
Created: 2011-10-11 17:22:57+00:00
State: open

So our internal class properties do not have to match exactly what is in the JSON data.

For example, I want:

JSON: { "response_code": "OK" }

C# Class:

[DataContract]
class F
{
[DataMember(Name = "response_code")]
public string ResponseCode { get; set; }
}