✅ Making System.Text.Json errors more descriptive
For the most part, I'm happy with
System.Text.Json. However, when throwing a JsonException in a custom JsonConverter, it doesn't seem like there's any way to get the reader's path / line number, making the resulting error cryptic and unusable. I'm implementing a transpiled programming language, so it's extremely important for the errors to be both 1. standardized and 2. descriptive. Is there a way to achieve this with System.Text.Json? I went hunting for other libraries but they either have the same issue or don't fit with my use case.