agave-metadata/metadata-core/src/main/java/org/iplantc/service/metadata/search/JsonHandler.java
/**
     * Get notifications field from {@link JsonNode}
     *
     * @param notificationNode {@link JsonNode} to parse field from
     * @return List of Notification objects as {@link Document}
     * @throws MetadataQueryException if notification field is not an array
     */
Get notifications field from  JsonNode
@param notificationNode  JsonNode to parse field from
@return List of Notification objects as  Document
@throws MetadataQueryException if notification field is not an array
Get notifications field from JsonNode @param notificationNode JsonNode to parse field from @return List of Notification objects as Document @throws MetadataQueryException if notification field is not an array
public List<Document> parseNotificationToList(JsonNode notificationNode) throws MetadataQueryException {
        if (notificationNode.hasNonNull("notifications")) {
            if (notificationNode.get("notifications").isArray()) {
                ArrayNode notificationArrayNode = (ArrayNode) notificationNode.get("notifications");
                return parseObjectArrayNodeToList(notificationArrayNode);
            } else {
                throw new MetadataQueryException(
                        "Invalid notifications value. notifications should be an "
                                + "JSON array of notification objects.");
            }
        }
        return null;
    }
public List < Document > parseNotificationToList ( JsonNode notificationNode ) throws MetadataQueryException { if ( notificationNode . hasNonNull ( "notifications" ) ) { if ( notificationNode . get ( "notifications" ) . isArray ( ) ) { ArrayNode notificationArrayNode = ( ArrayNode ) notificationNode . get ( "notifications" ) ; return parseObjectArrayNodeToList ( notificationArrayNode ) ; } else { throw new MetadataQueryException ( "Invalid notifications value. notifications should be an " + "JSON array of notification objects." ) ; } } return null ; }
Get notifications field from {@link JsonNode}
 @param notificationNode {@link JsonNode} to parse field from
 @return List of Notification objects as {@link Document}
 @throws MetadataQueryException if notification field is not an array
Get notifications field from { @link JsonNode } @param notificationNode { @link JsonNode } to parse field from @return List of Notification objects as { @link Document } @throws MetadataQueryException if notification field is not an array