Apache Tajo - JSON 函式



JSON 函式列在以下表格中 −

序號 函式和描述
1 json_extract_path_text(以 text 為 json,以 text 為 json_path)

根據指定的 json 路徑從 JSON 字串中提取 JSON 字串。

2 json_array_get(以 text 為 json_array,以 int4 為 index)

返回 JSON 陣列中指定索引處的元素。

3 json_array_contains(以 text 為 json_array,以 any 為 value)

確定給定的值是否存在於 JSON 陣列中。

4 json_array_length(以 text 為 json_array)

返回 json 陣列的長度。

廣告
© . All rights reserved.