json
json copied to clipboard
Add serde_json::error::Error::msg() method
Actually it is not possible to have the error message without the line and column number.
I had to parse a file with one object by line, the error line was always 1 but not necessary in the file.
You cant get the line and column with serde_json::error::Error::{line,column} but the error message from the ErrorCode is private.
You can now get only missing field `type` instead of the whole missing field `type` at line 1 column 26
Is there any progress on this?
No idea, waiting for maintainers to approve or disapprove.