public static <T> T withJsonInputStream(InputStream inputStream,
            TypeReference<T> typeReference) {
        try {
            return jsonMapper.readValue(inputStream, typeReference);
        } catch (Exception e) {
            return JMExceptionManager.handleExceptionAndReturnNull(log, e,
                    "withJsonInputStream", inputStream);
        }
    }
public static < T > T withJsonInputStream ( InputStream inputStream , TypeReference < T > typeReference ) { try { return jsonMapper . readValue ( inputStream , typeReference ) ; } catch ( Exception e ) { return JMExceptionManager . handleExceptionAndReturnNull ( log , e , "withJsonInputStream" , inputStream ) ; } }
With json input stream t.

@param <T>           the type parameter
@param inputStream   the input stream
@param typeReference the type reference
@return the t