v.25.5Improvement

Improve in JSON type parsing

Small improvement in JSON type parsing by using cache of variants deserialization order. #79984 (Pavel Kruglov).
Improved JSON type parsing performance by caching the variants deserialization order.

Why it matters

This feature reduces the overhead during JSON parsing by reusing the order of deserialization variants, which accelerates processing of JSON data in ClickHouse and improves query performance involving JSON type columns.

How to use it

No user action is needed as this improvement is applied internally to JSON type parsing. Users will benefit from faster parsing automatically after upgrading to the version including this enhancement.