Objects with Map fields

I want to use XStream to write XML for objects that have a field that
is a Map. That gives me something like this.

some key

I don’t want the Map information in my XML. I really want output like
this.

Can I configure XStream to do this and still be able to read that XML
back in to reconstruct the objects, including the Maps? I’m imagining
that this could work if I could tell XStream which field of the Artist
objects should be used for key values in the Map.


Mark V.

Oops! Wrong mailing list.

On Jul 19, 2008, at 2:36 PM, Mark V. wrote:


Mark V.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs