Hi all,

Hopefully this hasn't been covered before, the closest reference I can find
to this area is an unrelated JIRA bug[1].

We are currently using @XStreamImplicit for fields which are Collection
types, which seems to only work with arrays, java.util.Map, and
java.util.Collection.  However, with heavy use of the Guava library we
often find ourselves with a field of java.lang.Iterable<X>. We have an easy
workaround of just creating a new collection type, e.g. ArrayList from the
iterable, but it seems a shame to have to create a copy rather than take
advantage of the laziness available with Guava's Iterables.

Are there any plans to enhance @XStreamImplicit to also accept fields of
type Iterable?

Thanks for your hard work in creating this library, much appreciated.

Kind regards,
Graham


[1] http://jira.codehaus.org/browse/XSTR-606

Reply via email to