code: public <T> Collection<T> collectAll(InputStream inputStream, Class<T> tClass, JsonPath... paths) {
          CollectAllListener<T> listener = new CollectAllListener<T>(jsonProvider, tClass);
          SurfingConfiguration.Builder builder = configBuilder();
          for (JsonPath jsonPath : paths) {
              builder.bind(jsonPath, listener);
          }
          surf(inputStream, builder.build());
          return listener.getCollection();
      }
docs: Collect all matched value into a collection
  
  @param inputStream Json reader
  @param tClass      type
  @param paths       JsonPath
  @param <T>         type
  @return typed value