code: public static <T> List<T> readValues(InputStream inputStream, Class<T> type) throws IOException {
          return DataModelSerializer.deserializeList(inputStream, type);
      }
docs: Reads in a list of objects from a JSON input stream
  
  @param inputStream The input stream containing the JSON array of objects
  @param type The type of the object in the array to be read from the stream
  @return The list of objects
  @throws IOException