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

A JSON object with duplicate keys is explicitly defined by the spec as undefined behavior, and is left up to the individual implementation to decide what to do. It's neither valid nor invalid.


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

Search: