Closed mathielen closed 11 years ago
Not too crazy about this, to be honest.
I think this is a very specific use-case and I wouldn't want to add in some magic that some users may not be expecting. Users are expecting to send back an object - if they want to force it to an array, they can simply call the toArray()
function themselves when the route returns data.
Thanks @mathielen
Yea, you're right. Thanks.
What do you think about that extension? Should be implemented in XmlSerializer, too.