public < T extends OmiseObject > T deserialize ( InputStream input , Class < T > klass ) throws IOException { return objectMapper . readerFor ( klass ) . readValue ( input ) ; }
Deserialize an instance of the given class from the input stream .