-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
strict option: no_duplicate_keys #104
Comments
i'll look at adding this to the in progress 3.0 probably won't backport it to 2.x tho, because there's no low impact way to track multiple keys when decoding to a map |
how is "there's no low impact way..." relevant if we're talking about adding a flag? current performance can stay the same, but those who want |
a friendly bump. what's the status on this? thanks! |
@andreineculau: is this still an issue (it's been more than 2 years)? How would you go about detecting the duplicates? I imagine a map, since a list would be even more performance-degrading. Is this what you mean by your question? You'd like a flag and then a runtime validation if that flag was active. Is that it? |
@paulo-ferraz-oliveira I missed your comment, sorry. But yes, I think it's still an issue. [email protected] behaviour is unchanged
from [email protected]
For starters, it would be good if there's no behaviour difference dictated by |
as per https://tools.ietf.org/html/rfc7159#section-4
yet JSX works like this:
Consider adding
no_duplicate_keys
as as flag part of the strict option, or similar.The text was updated successfully, but these errors were encountered: