codahale/jerkson — pull request #57 by gianm (2012-04-20 00:41:20+00:00)
Title: For issue #45 (Support for parameterized types)

This patch lets Jerkson work with parameterized case classes by extracting type parameters using javaType.containedType, stashing them in a Map, and passing them through to typeRef2JavaType. In turn, typeRef2JavaType will return the stashed JavaTypes if it encounters one of them instead of trying to load classes using a generic name (which leads to a ClassNotFoundException). The patch series also includes a couple of test cases.

There might be a nicer way to accomplish the same thing but I am not aware of one.