path-to-error icon indicating copy to clipboard operation
path-to-error copied to clipboard

Find out path at which a deserialization error occurred

Results 5 path-to-error issues
Sort by recently updated
recently updated
newest added

Here is a test case that shows the failure. Comment/uncomment one of the `let json_deserializer =` lines to toggle between the JSON test data. The output for the failing case...

I want to use json as the request body of my webservice with a json format error reported when "bad request". But this lib, which is awesome, only reports the...

```rust #[test] fn test_flattened_struct() { #[derive(Deserialize, Debug)] struct Package { name: String, #[serde(flatten)] dependency: Dependency, } #[derive(Deserialize, Debug)] struct Dependency { version: String, } let j = r#"{ "name": "demo",...

Hello, I'm parsing various data structures from JSONs an currently I'm getting an error that looks like this: ``` Error deserializing StructureX JSON: Error { path: Path { segments: [Map...

Hi, it would be awesome to have a way to collect all errors, so that they can be resolved in batch. I work with a poorly documented API and I...