codahale/jerkson — pull request #69 by rybosome (2012-08-24 19:54:54+00:00)
Title: Adds @JsonProperty getter support in case classes

Partially resolves #68

Adds support for `@JsonProperty` annotation on methods during serialization of case classes. If a method that takes no parameters is annotated with `@JsonProperty("${name of property here}")`, then its return value will be used rather than the native attribute. For instance:

```
case class Person(name: String) {

@JsonProperty("name")
def serializeName: String = name.reverse

}
```