I'm looking at this, and struggling somewhat to figure out how to add it
into the release. That said, I'm not great at Java, so I don't really know
what other types one might expect to receive over an XMLRPC link that one
can convert into the types within java... so, I don't know what to suggest.
Does anyone have any suggestions?
Its not clear to me why an array would cast directly to a HashMap. Structs
certainly would because these are unordered key,value pairings. Arrays are
ordered and don't have key-value pairs...wouldn't a more natural cast be a
Java vector?? So an array of structs would be
Vector<HashMap<String,Object>> or some such. There is only so much you can
do though because the nesting isn't really limited. So you could have an
array of structs which have mixed types as elements, so it will still be up
to the user to cast the appropriate type.
If you can handle some of these casts in the library internally it would
really improve the usability.
Thank you very much you saved my day! :)
Some other tricks?
The hashmap solution is working w/ me and it's enough so far.