
|
If you were logged in you would be able to see more operations.
|
|
|
XStream
Created: 31/Aug/05 07:05 AM
Updated: 25/Feb/08 05:01 PM
|
|
| Component/s: |
None
|
| Affects Version/s: |
None
|
| Fix Version/s: |
1.3
|
|
|
I spent quite some time trying and failing to get the JavaBeanConverter working until I realised that an empty constructor is required and needs to be public. Otherwise things default back to field based serialization. This is not ideal, my domain objects have empty protected constructors which work nicely with Hibernate getter/setter serialization for example.
|
|
Description
|
I spent quite some time trying and failing to get the JavaBeanConverter working until I realised that an empty constructor is required and needs to be public. Otherwise things default back to field based serialization. This is not ideal, my domain objects have empty protected constructors which work nicely with Hibernate getter/setter serialization for example.
|
Show » |
|
- It would have to be able to deal with any visibility on both constructors and getters/setters.
- It would need some way of marking a visible get/set pair as "do not (de)serialize" -- the equivalent of the transient tag for field serialization.