v.23.5Improvement

JSON Parsing Failure Handling for Large Object Sizes

In case JSON parse fails due to the large size of the object output the last position to allow debugging. #50474 (Valentin Alexeev).
Improves JSON parsing error reporting by outputting the last position in the input where the parse failed, aiding debugging of large JSON objects.

Why it matters

When parsing large JSON objects, failures can be difficult to diagnose due to lack of detailed error information. This feature enhances error diagnostics by providing the exact position in the JSON input where the parsing failed, helping users to quickly identify and fix issues.

How to use it

This improvement is applied automatically during JSON parsing operations. Users will see the enhanced error messages with the position indicator when parsing malformed or problematic large JSON inputs.