public static void assertJsonEquals(JsonNode left, String rightJson) {
        try {
            String leftJson = mapper.writeValueAsString(left);
            assertJsonEquals(leftJson, rightJson);
        } catch (JsonProcessingException e) {
            throw new UncheckedIOException(e);
        }
    }
Structurally compare a {@link JsonNode} and a JSON string.
testutil/src/main/java/com/yahoo/test/json/JsonTestHelper.java