Skip to content

check-json doesn't detect duplicate keys #554

Description

@adamchainz

The YAML check does this since #351 but since the json module's default behaviour is to ignore duplicates, duplicates are still possible in JSON. I think a small object_pairs_hook can be used to detect duplicates?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions