Skip to content

Add feature to error on duplicate key in Map<String, Value>#1113

Open
jfehr67 wants to merge 1 commit intoserde-rs:masterfrom
jfehr67:No_Duplicate_Keys_Feature
Open

Add feature to error on duplicate key in Map<String, Value>#1113
jfehr67 wants to merge 1 commit intoserde-rs:masterfrom
jfehr67:No_Duplicate_Keys_Feature

Conversation

@jfehr67
Copy link

@jfehr67 jfehr67 commented Feb 27, 2024

Add optional feature to error on deserialize of duplicate key in Map<String, Value>. VERY useful if you typically have very large json files that are contributed to by multiple engineers.

@DarkKirb
Copy link

this is also useful for cryptographic libraries that need to reject duplicate keys in json to avoid canonicalization issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants