in jackson/src/main/java/com/spotify/hamcrest/jackson/IsJsonObject.java [150:165]
public void describeTo(Description description) {
description.appendText("{\n");
for (Map.Entry<String, Matcher<? super JsonNode>> entryMatcher : entryMatchers.entrySet()) {
final String key = entryMatcher.getKey();
final Matcher<? super JsonNode> valueMatcher = entryMatcher.getValue();
description.appendText(" ");
describeKey(key, description);
description.appendText(": ");
final Description innerDescription = new StringDescription();
valueMatcher.describeTo(innerDescription);
DescriptionUtils.indentDescription(description, innerDescription);
}
description.appendText("}");
}