docs/en/sql-reference/functions/json-functions.md
There are two sets of functions to parse JSON:
simpleJSON* (visitParam*) which is made for parsing a limited subset of JSON extremely fast.JSONExtract* which is made for parsing ordinary JSON.ClickHouse has special functions for working with simplified JSON. All these JSON functions are based on strong assumptions about what the JSON can be. They try to do as little as possible to get the job done as quickly as possible.
The following assumptions are made:
simpleJSONHas('{"abc":"def"}', 'abc') = 1, but simpleJSONHas('{"\\u0061\\u0062\\u0063":"def"}', 'abc') = 0These functions are based on simdjson, and designed for more complex JSON parsing requirements.
These functions perform ASCII case-insensitive key matching when extracting values from JSON objects. They work identically to their case-sensitive counterparts, except that object keys are matched without regard to case. When multiple keys match with different cases, the first match is returned.
:::note These functions may be less performant than their case-sensitive counterparts, so use the regular JSONExtract functions if possible. :::
<!-- The inner content of the tags below are replaced at doc framework build time with docs generated from system.functions. Please do not modify or remove the tags. See: https://github.com/ClickHouse/clickhouse-docs/blob/main/contribute/autogenerated-documentation-from-source.md --> <!--AUTOGENERATED_START--> <!--AUTOGENERATED_END-->