I have a few routes where I convert XML [or maybe SQL so
java.util.ArrayList] to JSON objects. Depending on the original payload,
I sometimes get:
or if there's only one "key" it might be:
Consumers of these services have serialization issues when it comes to
the fact that the keys aren't always arrays.
So my question has two parts:
a) Can I tell my data format to have some sort of "always make this an
b) do you guy solve this by putting the first result into a POJO first?
or I guess:
c) am I missing the bulls-eye dramatically with my thinking, in which
case suggestions are very welcome