UPDATE:
Sorry, my mistake, mistyped function. Anyway,
field.get(field.getType()) works just fine.
/UPDATE
I wonder how one would solve this problem:
I have a serialized object and I want to retrieve all the fields of the object and their values.
( moreCollapse )