SpringSource/spring-hateoas — pull request #24 by Laures (2012-10-26 15:46:21+00:00)
Title: Support for JSON-HAL with a custom Module and Jackson Mixin-Classes

just add the haljacksonmodule to the object mapper. the module adds mixin annotation classes to the object mapper that will overwrite the existing annotations on the classes in case of conflict. The new annotations force usage of custom serializers.

there are two problems with this version:

no support for _embedded: resourceSupport has only one list. there is no place to store those.

xml serialization: the mixin instances contain the correct xml annotations but just like json the configuration to use them will be provider specific