Documentation tweaks.

This commit is contained in:
Jon Brisbin
2012-09-27 15:54:17 -05:00
committed by Jon Brisbin
parent 28f4936d97
commit 231015d6e1
2 changed files with 47 additions and 16 deletions

View File

@@ -38,8 +38,3 @@ properties that are managed by a `Repository` and copying across any embedded or
If your project needs to have output in a different format, however, it's possible to completely replace the default
outgoing JSON representation with your own. If you register your own `ConversionService` in the ApplicationContext and
register your own `Converter<Person, Resource>`, then you can return a `Resource` implementation of your choosing.
For example, to rename the "links" property to "_links", create your own `Resource` subclass that renames the
property using Jackson's `@JsonProperty` annotation:
public class MyResource extends Resource