code: private List<Condition> conditionsOf(JsonNode conditionNodes) {
  
          List<Condition> conditionList = new LinkedList<Condition>();
          Iterator<Map.Entry<String, JsonNode>> mapOfConditions = conditionNodes
                  .fields();
  
          Entry<String, JsonNode> condition;
          while (mapOfConditions.hasNext()) {
              condition = mapOfConditions.next();
              convertConditionRecord(conditionList, condition.getKey(),
                      condition.getValue());
          }
  
          return conditionList;
      }
docs: Generates a list of condition from the Json node.
  
  @param conditionNodes
  the condition Json node to be parsed.
  @return the list of conditions.