we have been using xstream happily for years, but now we reached a point, where we need to cut down on xml message sizes generated by xstream 1.4.20.
the actual xml generated looks something like this, with about 80 to 100 triplets (generated code)
<Person>
<firstName>Jonathan</firstName>
<firstNameHasBeenSet>true</firstNameHasBeenSet>
<firstNameHasBeenChanged>false</firstNameHasBeenChanged>
<lastName>Arbuckle</lastName>
<lastNameHasBeenSet>true</lastNameHasBeenSet>
<lastNameHasBeenChanged>false</lastNameHasBeenChanged>
...
<fieldname>...</fieldname>
<fieldnameHasBeenSet>...</fieldnameHasBeenSet>
<fieldnameHasBeenChanged>...</fieldnameHasBeenChanged>
...
</Person>
what we intend to get is
<Person>
<firstName set="true" changed="false">Jonathan</firstName>
<lastName set="true" changed="false">Arbuckle</lastName>
...
<fieldname set="..." changed="...">...</fieldname>
...
</Person>
i tried with aliasing and attribute aliasing, but i was only able to add the attributes to the Person tag.
Is there a way to achieve this by configuration or extending the existing reflection converters?
Regards
René