Hacker News new | ask | show | jobs
by kiitos 954 days ago
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.