Hacker News new | past | comments | ask | show | jobs | submit login

> returning a null array to represent no items, and returning a single object without an array to represent one item

this happens when you add JSON version for old XML-based APIs (seen this multiple times)




> this happens when you add JSON version for old XML-based APIs (seen this multiple times)

...without using an XSD schema. With a schema,not an issue




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: