Re: [jackson-user] Construct type for class implementing List bound to specific generic type

2017-09-25 Thread thorben . lindhauer
Hi Michael, Sorry for the late response. I haven't looked into this any further so far. You can ask us to update the Jackson dependency in the course of which we would have to look into this in more detail. For that, go to the Camunda JIRA: https://app.camunda.com/jira/browse/CAM Cheers, Thorb

Re: [jackson-user] Construct type for class implementing List bound to specific generic type

2017-02-03 Thread thorben . lindhauer
Hi Tatu, Thanks for your response and good to know that I am using something that isn't intended to be used :) I'll elaborate a little bit on my actual use case and then ask some follow-up questions. My use case is: I'd like to have code that takes instances of classes implementing java.util.

Re: [jackson-user] Construct type for class implementing List bound to specific generic type

2017-02-02 Thread Tatu Saloranta
Ok, code has a few problems. First: method `constructFromCanonical()` really isn't meant to be end-user functionality. Maybe Javadocs should make this clear, but it is not something I was planning to be used by anything but core Jackson functionality. I can sort of see why it might seem useful, bu

[jackson-user] Construct type for class implementing List bound to specific generic type

2017-01-31 Thread thorben . lindhauer
Hi, Jackson-databind version: 2.8.6 I have a class that implements java.util.List with a compile-time defined generic type, e.g. public static class WrapperList implements List { // delegate to methods of a wrapped ArrayList } Now I want to use TypeFactory to create a canonical String repr