serde-rs / json

Strongly typed JSON library for Rust
Apache License 2.0
4.85k stars 555 forks source link

The error message lacks sufficient detail #1111

Open tch1121 opened 8 months ago

tch1121 commented 8 months ago

I consistently fail to parse the string returned by the server. I've crashed.

I only realized that the string returned by the server contains a BOM when I printed it using {:#?}.

dpralas commented 4 months ago

Probably related to https://github.com/serde-rs/json/issues/1115.