/** * Returns a json representation of this query */ @Override public JsonNode toJson() { ArrayNode arr = getFactory().arrayNode(); for (QueryExpression x : queries) { arr.add(x.toJson()); } return getFactory().objectNode().set(op.toString(), arr); }
/** * Returns a json representation of this query */ @Override public JsonNode toJson() { ArrayNode arr = getFactory().arrayNode(); for (QueryExpression x : queries) { arr.add(x.toJson()); } return getFactory().objectNode().set(op.toString(), arr); }