v.21.10Improvements

Support Array-Enclosed Data in JSONAsString Input Format

Support the case when the data is enclosed in array in JSONAsString input format. Closes #25517. #25633 (Kruglov Pavel).
Added support for parsing JSON data enclosed in arrays when using the JSONAsString input format.

Why it matters

This feature addresses the issue where JSON data wrapped in an array could not be properly ingested using the JSONAsString input format, enhancing flexibility and ease of importing JSON datasets that are array-enclosed without additional preprocessing.

How to use it

When importing data with the JSONAsString input format, users can now directly provide JSON strings enclosed in arrays. No extra configuration is required; ClickHouse automatically supports this data structure.