in jackson/src/main/java/com/spotify/hamcrest/jackson/IsJsonText.java [59:68]
protected boolean matchesNode(TextNode node, Description mismatchDescription) {
final String value = node.asText();
if (textMatcher.matches(value)) {
return true;
} else {
mismatchDescription.appendText("was a text node with value that ");
textMatcher.describeMismatch(value, mismatchDescription);
return false;
}
}