Open hejfelix opened 1 month ago
The philosophy and the needs that I went into writing this library with was that it should only give you the minimum information needed to make source
align with target
. So if there's an extra entry in source
you only need it to know it's key so you can remove it.
You can find the value of this Extra
by swapping your source
and target
arguments and then it will show up as Missing
instead.
I'm happy to review a PR if you really think Extra
should contain a value.
https://github.com/Teajey/serde_json_diff/blob/8f226c37ab01a70b218d385bcc2676601e0b5859/src/lib.rs#L10
would be nice to know the value in the
Extra
case like in theMissing
case