S
S
Shrei2016-11-08 01:04:50
JSON
Shrei, 2016-11-08 01:04:50

How to get generic type from Jackson JavaType?

I create the following type Response<MyType>in Jackson:

JavaType responseType = factory.constructParametricType(Response.class, type);

How do I get now the JavaType for MyType?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question