code: public <T extends OmiseObject> T deserialize(InputStream input, Class<T> klass) throws IOException {
          return objectMapper.readerFor(klass).readValue(input);
      }
docs: Deserialize an instance of the given class from the input stream.
  
  @param input The {@link InputStream} that contains the data to deserialize.
  @param klass The {@link Class} to deserialize the result into.
  @param <T>   The type to deserialize the result into.
  @return An instance of type T deserialized from the input stream.
  @throws IOException on general I/O error.