And one more: the API I am working with can return...
# serialization
t
And one more: the API I am working with can return either an object or array, using the same key, like so:
Copy code
"items": { "property": true }
or
Copy code
"items": [ { "property": true }, { "property": true } ]
How can I handle such a case. Moshi has a
Copy code
@SingleToArray
annotation, but I do not see anything similar in serialization.