Hi

No this is not supported today.

Though we could maybe add that, so you can configure this on the data format.

On Mon, Apr 27, 2015 at 1:05 AM, Ryan Moquin <fragility...@gmail.com> wrote:
> Hi, I had a question about unmarshalling a json object to a generic class
> type, such as something like, MyClass<Person>.  Due to erasure, Jackson
> provides a special way of unmarshalling this type object so that you don't
> lose the generic type information, like this:
>
> MyClass<Person> myClass = mapper.readValue(json, new
> TypeReference<MyClass<Person>>() {});
>
> Is there anyway to do this with the camel dataformat dsl?  Or does the
> unmarshalling have to be done manually someway?
>
> Thanks for help in advance!
>
> Ryan



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
Email: cib...@redhat.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen
hawtio: http://hawt.io/
fabric8: http://fabric8.io/

Reply via email to