agave-metadata/metadata-core/src/main/java/org/iplantc/service/metadata/search/JsonHandler.java
/**
     * Parse an {@link ArrayNode} to a list of {@link Document}
     *
     * @param arrayNode containing JsonObjects
     * @return List of {@link Document} matching the ArrayNode
     */
Parse an  ArrayNode to a list of  Document
@param arrayNode containing JsonObjects
@return List of  Document matching the ArrayNode
Parse an ArrayNode to a list of Document @param arrayNode containing JsonObjects @return List of Document matching the ArrayNode
protected List<Document> parseObjectArrayNodeToList(ArrayNode arrayNode) {
        List<Document> objectList = new ArrayList<>();
        for (int i = 0; i < arrayNode.size(); i++) {
            JsonNode jsonNode = arrayNode.get(i);
                Document doc = parseNestedJsonNodeToDocument(jsonNode);
                objectList.add(doc);
        }
        return objectList;
    }
protected List < Document > parseObjectArrayNodeToList ( ArrayNode arrayNode ) { List < Document > objectList = new ArrayList < > ( ) ; for ( int i = 0 ; i < arrayNode . size ( ) ; i ++ ) { JsonNode jsonNode = arrayNode . get ( i ) ; Document doc = parseNestedJsonNodeToDocument ( jsonNode ) ; objectList . add ( doc ) ; } return objectList ; }
Parse an {@link ArrayNode} to a list of {@link Document}
 @param arrayNode containing JsonObjects
 @return List of {@link Document} matching the ArrayNode
Parse an { @link ArrayNode } to a list of { @link Document } @param arrayNode containing JsonObjects @return List of { @link Document } matching the ArrayNode