I have a method that gets two Json nodes that should be Json array nodes of different sizes. I need to check if ArrayA contains all the elements of ArrayB. How do I do that?
private boolean isContains (JsonNode ArrayA, JsonNode ArrayB) {
if (ArrayA.isArray() && ArrayB.isArray()) {
// Here goes the missing code.
}
}
equalsshould work in depth, see jackson.codehaus.org/1.7.9/javadoc/org/codehaus/jackson/…