Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Though couldn't you have it easier by making sure your top-level JSON structure is always an object?

Yes, this works too. You’re correct about any keys causing a syntax error.



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

Search: