Skip to content
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

Problems understanding error: trailing characters #20

Open
mainrs opened this issue Dec 4, 2020 · 0 comments
Open

Problems understanding error: trailing characters #20

mainrs opened this issue Dec 4, 2020 · 0 comments

Comments

@mainrs
Copy link

mainrs commented Dec 4, 2020

The error occurs on the line Apply::apply. I guess the deserializer, which takes serde_json::to_string(&Diff::serialize...) gets wrong json as input. I've uploaded the json and small code to https://github.com/SirWindfield/serde-diff-error. The error occurs on line 62:

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error("trailing characters", line: 1, column: 552)', src/main.rs:62:36
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant