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
duplicate key #1095
Comments
Hi @ilyasamraoui, Indeed, the goal of ArduinoJson is to offer a lightweight parser for embedded platforms and not a JSON validator. Do you have a use case where detecting duplicate keys is crucial? Best Regards, |
I just made the test and the code grew by only 26 bytes; so that may be worth it. |
Looking at this question on stackoverflow, I realized that duplicate keys are not illegal and are accepted by most implementations. All major implementations keep the last value:
So |
ok i see, i used jsonlint.com to validate json object with duplicate key and it didn't validate it |
Fix published in ArduinoJson 6.13.0 |
Hi,
DesrializationError validate json char array that has duplicate key
The text was updated successfully, but these errors were encountered: