I have a method which compares two objects, but I don't know how to compare JsonNode by Jackson library.
I want get something like that:
private boolean test(JsonNode source) {
JsonNode test = compiler.process(file);
return test.equals(source);
}