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 {@link ArrayNode} of notifications, null if notification field is not specified
     * @throws MetadataQueryException if notifications field is not an array
     */
Get notifications field from  JsonNode
@param notificationNode JsonNode to parse field from
@return  ArrayNode of notifications, null if notification field is not specified
@throws MetadataQueryException if notifications field is not an array
Get notifications field from JsonNode @param notificationNode JsonNode to parse field from @return ArrayNode of notifications null if notification field is not specified @throws MetadataQueryException if notifications field is not an array
public ArrayNode parseNotificationToArrayNode(JsonNode notificationNode) throws MetadataQueryException {
        if (notificationNode != null && notificationNode.hasNonNull("notifications")) {
            if (notificationNode.get("notifications").isArray()) {
                return (ArrayNode) notificationNode.get("notifications");
            } else {
                throw new MetadataQueryException(
                        "Invalid notifications value. notifications should be an "
                                + "JSON array of notification objects.");
            }
        }
        return null;
    }
public ArrayNode parseNotificationToArrayNode ( JsonNode notificationNode ) throws MetadataQueryException { if ( notificationNode != null && notificationNode . hasNonNull ( "notifications" ) ) { if ( notificationNode . get ( "notifications" ) . isArray ( ) ) { return ( ArrayNode ) notificationNode . get ( "notifications" ) ; } 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 {@link ArrayNode} of notifications, null if notification field is not specified
 @throws MetadataQueryException if notifications field is not an array
Get notifications field from { @link JsonNode } @param notificationNode { @link JsonNode } to parse field from @return { @link ArrayNode } of notifications null if notification field is not specified @throws MetadataQueryException if notifications field is not an array