cbpporter Messages: 1427 Registered: September 2007
Ultimate Contributor
tojocky wrote on Fri, 20 May 2011 18:20
cbpporter wrote on Fri, 20 May 2011 12:59
This change is only meant for Array and Vector marshaling, but could be extended to rest of the containers.
So now I can do:
xml("cats", cats);
for the original XML format, or:
xml("cats", "cat", cats);
for the format I want.
What about if your Array cats have items with array type?
Not a problem. My patch does not affect your serialization, since you need to write extra code to change the sub item name. But if you do, you will end up with: