Add multiple error returning in JSON Serializing #109372
Unanswered
Vinicius-Evangelista
asked this question in
Ideas
Replies: 1 comment 4 replies
-
My immediate thought on why it works as it currently does is that, especially for formatting errors, such as missing commas or other unexpected tokens, once a single error is found, everything else is an error, because the reader no longer knows what to expect next. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
This is my first discussion in my career, and I’m excited to contribute an idea.
While working with JSON serialization, I encountered a scenario where the JSON had multiple errors. Currently, the serializer identifies one error at a time, which requires multiple iterations to find and fix all issues. I believe it would be beneficial if the serializer could return all errors in one go, which could greatly improve the debugging process.
This change would save time and make it easier for developers to resolve JSON issues quickly. I'd love to hear your thoughts on this idea!
Here is an example to simplify what I'am trying to say:
Beta Was this translation helpful? Give feedback.
All reactions