Skip to content

Commit

Permalink
Updated readme to express conventions
Browse files Browse the repository at this point in the history
  • Loading branch information
hhariri committed Oct 19, 2011
1 parent 75ebeba commit 9102f64
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion README.md
Expand Up @@ -78,7 +78,13 @@ Both in Static and Dynamic versions, hierarchies are supported.

## Serialization / Deserialization Conventions

For serialization / deserialization, you can use pretty much any type of naming convention, be it Propercase, CamelCase, lowerCamelCase, with_underscores, etc. If for some reason, your convention is not picked up, you can always decorate the property with [JsonName("mycustomname")] attribute
For serialization / deserialization, you can use pretty much any type of naming convention, be it Propercase, CamelCase, lowerCamelCase, with_underscores, etc. If for some reason, your convention is not picked up, you can always decorate the property with an attribute:

```
[JsonName("mycustomname")]
public string SomeWeirdCombination { get; set; }
```

## Credits

Expand Down

0 comments on commit 9102f64

Please sign in to comment.