In GSON I can next:
Type envelopeType = TypeToken.getParameterized(RestResponse.class, type).getType();
In Moshi:
Type envelopeType = Types.newParameterizedType(RestResponse.class, type);
How can I do it with Jackson json?
TypeFactory, which is part of jackson-databind, might provide the methods you are looking for.