caelum/vraptor — pull request #553 by dtelaroli (2013-07-28 04:30:43+00:00)
Title: Implementation in gson deserialization to able deserialize generics parameters

The GsonDeserialization not is able to deserialize generics parameters like this:

class GenericCtrl {
void method(T type)
}
class ExtendedCtrl extends GenericCtrl{
}

So, I create a strategy with annotation for this:

@ConsumesTypes({Type.class})
class ExtendedCtrl extends GenericCtrl{
}