[`to_value`](https://docs.serde.rs/serde_json/fn.to_value.html) has both. The others are not as good. The Errors sections should contain an example of code that triggers the error. Especially for to_* these are not always obvious.