dtolnay / path-to-error

Find out path at which a deserialization error occurred

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Upstream to serde

figsoda opened this issue · comments

Is it possible for this to be upstreamed to serde perhaps as a feature?

Any news on this? I would love to have that in serde built-in, maybe only for debug.

This is not something I am considering.

This is not something I am considering.

Alright. May I ask why? 🙂

I've created this crate for people who use serde_json and want serde_path_to_error to be the default.
https://crates.io/crates/serde_json_path_to_error