treatAsArray for xml-to-json at multiple levels

Not applicable

Hi guys, I was wondering if its at all possible to convert xml response to json response and keep arrays at 2 places even if only a single object is returned -

{ "users": { "addresses": { } } }

instead of this i should get -

{ "users": [{ "addresses": [{ }] }] }

The documentation does not seem to say anything about this situation.

0 1 74
1 REPLY 1

Not applicable

Actually its there i the docs, was just adding the path at the wrong level!