The Resources project provides utilities to deal with resources in a REST Java application, adding means to decorate returned objects with links to other resources, without to have to annotate your object model.
Model for the resources, independent from any representation or framework.
General JSON utilities - in particular support for
@Data
Lombok annotations.
JSON support for JDK8 DateTime API.
Integration of the resources model and their JSON representation into the Spring Framework.
Main dependencies are:
- FasterXML Jackson 2.5.4
- Spring Framework 4.1.5
- The Lombok plugin must be installed
- Do not forget to enable annotation processing in Preferences > Compiler > Annotation processors
This library has been copied from the nemerosa/ontrack project.