v.24.9Improvement

Improve JSON UTF-8 Validation in Output Formats

Improve UTF-8 validation in JSON output formats. Ensures that valid JSON is generated in the case of certain byte sequences in the result data. #67938 (mwoenker).
Enhance UTF-8 validation in JSON output formats to ensure valid JSON generation for certain byte sequences in result data.

Why it matters

This feature addresses issues with invalid JSON output caused by improper UTF-8 validation. It ensures that the JSON output formats correctly handle and validate UTF-8 byte sequences, preventing malformed JSON and improving data integrity for users consuming JSON results.

How to use it

Users benefit from this feature automatically when using JSON output formats in ClickHouse, as UTF-8 validation improvements are integrated into JSON serialization without requiring additional configuration.