Jankson icon indicating copy to clipboard operation
Jankson copied to clipboard

Parameterized types cannot be marshalled.

Open kvverti opened this issue 4 years ago • 1 comments

For example, round-tripping List<Integer> results in getting a List<JsonElement> back.

kvverti avatar May 14 '20 19:05 kvverti

This is a known bug, but is absolutely on the top of my list of things to fix

falkreon avatar Jul 18 '20 21:07 falkreon

Thanks for the report. This has been on my mind for a long time. With 2.0 on the horizon, which was built for this, I've done extensive testing with recursive generics. If you have any problems with this in 2.x, please open a new Issue!

falkreon avatar Jun 27 '24 23:06 falkreon