protected void processPackage(Engine engine, Dependency dependency, JsonArray jsonArray, String depType) {
        final JsonObjectBuilder builder = Json.createObjectBuilder();
        jsonArray.getValuesAs(JsonString.class).forEach((str) -> {
            builder.add(str.toString(), "");
        }
protected void processPackage ( Engine engine , Dependency dependency , JsonArray jsonArray , String depType ) { final JsonObjectBuilder builder = Json . createObjectBuilder ( ) ; jsonArray . getValuesAs ( JsonString . class ) . forEach ( ( str ) -> { builder . add ( str . toString ( ) , "" ) ; }
Processes a part of package.json (as defined by JsonArray) and update the
specified dependency with relevant info.

@param engine the dependency-check engine
@param dependency the Dependency to update
@param jsonArray the jsonArray to parse
@param depType the dependency type