I\'m using Jackson in order to read json messages. One of the values that I\' trying to parse is a List and another value contains the type of the data in the list. This is
Something which is much shorter:
mapper.readValue(jsonString, new TypeReference>() {});