in jackson/src/main/java/com/spotify/hamcrest/jackson/IsJsonBoolean.java [59:69]
protected boolean matchesNode(BooleanNode node, Description mismatchDescription) {
final boolean value = node.asBoolean();
if (booleanMatcher.matches(value)) {
return true;
} else {
mismatchDescription.appendText("was a boolean node with value that ");
booleanMatcher.describeMismatch(value, mismatchDescription);
return false;
}
}