Question: does json allow duplicate keys?
Answer: RFC-7159, the current standard for JSON published by the Internet Engineering Task Force (IETF), states "The names within an object SHOULD be unique". ... We can have duplicate keys in a JSON object, and it would still be valid.