protected T readValue()

in src/main/java/com/epam/digital/data/platform/report/pipeline/AbstractPipeline.java [40:50]


  protected <T> T readValue(File file, Class<T> clazz) {
    T object;

    try {
      object = objectMapper.readValue(file, clazz);
    } catch (IOException e) {
      throw new JsonParseException(e);
    }

    return object;
  }