Details
-
Type:
New Feature
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.6
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
In addition to binding to JDK standard containers (class, interface), primitives (wrappers, arrays) and Bean classes, it would be very useful to be able to code generate interface implementations.
This would allow for developers to only define Bean interface, without any code (which is generally repetitive monkey code anyway), and Jackson data binder would generate implementation class. This class could include efficient deserialization as well as serialization code (plus implement JsonSerializable by doing it).
The main benefit would be reduced work needed by developers for cases where bean is just a data container and has no functionality of its own.
Preliminary code written by Sunny; need to get a place to store it in (Jackson sandbox?), so that we can hopefully get this fully integrated for 1.6.