- Update to Serde 0.9. Please see the Serde 0.9 release notes.
The new Serde 0.9 error system gives way more helpful error messages:
- Invalid type. Expected `Str`
+ invalid type: string "abc", expected an integer at line 2 column 7
- Missing field `w`
+ missing field `w` at line 2 column 2
- Invalid length: 2
+ invalid length 2, expected a tuple of size 3 at line 2 column 1
- Unknown field: `w`
+ unknown field `w`, expected one of `x`, `y`, `z` at line 14 column 4