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