divyang4481 / xstream-dot-net

Automatically exported from code.google.com/p/xstream-dot-net
1 stars 1 forks source link

Serializing Dictionaries or Hashtables results in extra garble #16

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
When serializing these types, the entire hashtable or dictionary is 
serialized, making the resulting XML fairly user un-friendly, as it contains 
the hashcode, the empty elements, etc...

The Java version of XStream does not have this limitation, as it translates 
the XML for these objects into significantly more simple and human readable 
XML.

Original issue reported on code.google.com by cgoudien...@gmail.com on 8 Oct 2009 at 4:53

GoogleCodeExporter commented 9 years ago
I've added a solution to issue #18 which takes care of this problem for 
Hashtables. It 
could also be useful for dictionaries. 

Original comment by cgoudien...@gmail.com on 9 Oct 2009 at 10:04