Skip to content
This repository was archived by the owner on Nov 13, 2019. It is now read-only.

Commit 8dd4285

Browse files
committed
Insure links are null (issue #36). Punting on a difficult merge of link-nullity-pr branch
1 parent 03cb277 commit 8dd4285

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/java/com/github/jasminb/jsonapi/ResourceConverter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ private String getLink(JsonNode linkNode) {
602602
// object form
603603
return linkNode.get(HREF).asText();
604604
}
605-
return linkNode.asText();
605+
return linkNode.asText(null);
606606
}
607607

608608
/**

0 commit comments

Comments
 (0)