Apache Tajo - JSON 函数

下表列出了 JSON 函数 −

S.No. 功能与描述
1 json_extract_path_text(js on text, json_path text)

根据指定的 json 路径从 JSON 字符串中提取 JSON 字符串。

2 json_array_get(json_array text, index int4)

将指定索引处的元素返回到 JSON 数组中。

3 json_array_contains(json_ array text, value any)

确定给定值是否存在于 JSON 数组中。

4 json_array_length(json_ar ray text)

返回 json 数组的长度。