> Just curious if you have only one person item in your array.
No. I had 3 items in the array, each fully initialized so that all
member variables were non-null. The actual type being serialized was
List<Person>, which behind the scenes was ArrayList<Person>.
> By default the JSON support always strips out the root element, so it
> is never encoded in JSON.
That's what I'm wondering...can we make it configurable with a property
or something. I think readability is adversely affected, or it can be
depending on who the reader is. ;) Regardless, assuming one way or
another is just begging for at least someone to get upset.
I also think that the side effect related to XML is a good candidate for
a configurable property. Assuming that the root node should be
capitalized might not fly with everyone.