Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
MrBean does not generate full generic type signatures (TypeReference + Nested Generics) #1
(moved from https://jira.codehaus.org/browse/JACKSON-479)
I would like to use ObjectMapper to read json into some interfaces that I have defined and am providing a TypeReference that has nested generic types such as the following:
In this example ObjectMapper materializes the json into a Results type object, containing a set of LinkedHashMaps instead of a set of the nested generic type (Dog in this example). I have attached a unit test that reproduces this behavior.