question: public static < E > boolean addAllJson ( Collection < JsonNode > nodes , Function < JsonNode , E > parser , Collection < E > output ) { boolean success = true ; for ( JsonNode node : nodes ) { E parsed = parser . apply ( node ) ; success &= ( parsed != null ) ; if ( success ) { output . add ( parsed ) ; } } return success ; }
target:  Attempt to parse JSON from a list, then add all results to an output collection. This does not add nodes that cannot be parsed (returning null)