-
Notifications
You must be signed in to change notification settings - Fork 579
misleading error message #352
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
I agree! Would you be interested in implementing this? The code for parsing a map key will need to recognize when it gets a |
I'll give it a go. |
Is there documentation on contributing? It seems like the tests don't compile on rustc stable... |
I switched to nightly and the tests compile with warnings about unused extern crate. Only a hand full of tests run and they all fail. What gives?
|
Further study of travis.sh revealed that I was missing a build step
All tests seem to be passing. On to the real work. |
change error type for trailing commas, fixes #352
I was going through the serde_json :: de :: from_reader example and encountered an error at run time "KeyMustBeAString". I went back to my json file and looked. All of the keys were strings... I scratched my head and stared. Then I noticed that I had a trailing comma after the last value.
It seems like adding another error code that has something to do with trailing commas would make the error messages more human friendly.
test.json
error message:
The text was updated successfully, but these errors were encountered: