amethyst / amethyst/serde-diff

Problems understanding error: `trailing characters`

Đang mở
#20 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Rust
Star
127
Fork
21
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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
```

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.