diff --git a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/RepositoryAwareJacksonModule.java b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/RepositoryAwareJacksonModule.java index 58a2af433..f2b92cdf2 100644 --- a/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/RepositoryAwareJacksonModule.java +++ b/spring-data-rest-webmvc/src/main/java/org/springframework/data/rest/webmvc/json/RepositoryAwareJacksonModule.java @@ -259,6 +259,13 @@ public class RepositoryAwareJacksonModule extends SimpleModule implements Initia continue; } + if("links".equals(name)) { + while((tok = jp.nextToken()) != JsonToken.END_ARRAY) { + // Advance past the links + } + continue; + } + if(null == attrMeta) { // do nothing continue;