Allow the use of a naming strategy which will control how reflection
property names get turned into JSON properties.
For instance using a camelCase naming strategy would cause this class:
public class MyClass {
public int MyProperty { get; set; }
}
to get turned into this JSON
{ "myProperty": 0 }
Also allow aliasing a property using the JsonExProperty attribute.
public class MyClass {
[JsonExProperty(Alias="my_property")]
public int MyProperty { get; set; }
}
{ "my_property": 0 }
Original issue reported on code.google.com by elliott....@gmail.com on 26 Sep 2009 at 2:19
Original issue reported on code.google.com by
elliott....@gmail.com
on 26 Sep 2009 at 2:19