Skip to content

Commit 3a99f04

Browse files
[DRAFT] AI Translate 81-how-databend-works to Simplified-Chinese (58/93) (#2475)
* [INIT] Start translation to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese * 🌐 Translate 03-how-databend-json-variant-works.md to Simplified-Chinese --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Bohu <[email protected]>
1 parent 27f34bd commit 3a99f04

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

58 files changed

+2951
-122
lines changed

docs/cn/guides/81-how-databend-works/03-how-databend-json-variant-works.md

Lines changed: 93 additions & 95 deletions
Large diffs are not rendered by default.

docs/cn/sql-reference/20-sql-functions/02-conversion-functions/to-string.md

Lines changed: 28 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ title: TO_STRING
44

55
import FunctionDescription from '@site/src/components/FunctionDescription';
66

7-
<FunctionDescription description="引入或更新于: v1.2.745"/>
7+
<FunctionDescription description="引入或更新于v1.2.745"/>
88

9-
将值转换为 String 数据类型,或将 Date 值转换为特定的字符串格式。要在 Databend 中自定义日期和时间的格式,您可以使用格式说明符。这些说明符允许您定义日期和时间值的所需格式。有关支持的格式说明符的完整列表,请参阅 [格式化日期和时间](../../00-sql-reference/10-data-types/datetime.md#formatting-date-and-time)
9+
将值转换为字符串(String数据类型,或将日期(Date值转换为特定的字符串格式。要在 Databend 中自定义日期和时间的格式,您可以使用格式说明符(Specifiers)。这些格式说明符允许您为日期和时间值定义所需的格式。有关支持的格式说明符的完整列表,请参阅[格式化日期和时间](../../00-sql-reference/10-data-types/datetime.md#formatting-date-and-time)
1010

1111
## 语法
1212

@@ -20,37 +20,37 @@ TO_STRING( '<date>', '<format>' )
2020

2121
Databend 支持两种日期格式样式,可以使用 `date_format_style` 设置进行选择:
2222

23-
- **MySQL** (默认): 使用 MySQL 兼容的格式说明符,如 `%Y``%m``%d` 等。
24-
- **Oracle**: 使用格式说明符,如 `YYYY``MM``DD` 等,这些格式遵循许多数据库系统中常用的标准化格式
23+
- **MySQL**(默认):使用与 MySQL 兼容的格式说明符,如 `%Y``%m``%d` 等。
24+
- **Oracle**:使用 `YYYY``MM``DD` 等格式说明符,这些说明符遵循许多数据库系统中常用的标准化格式
2525

26-
要在格式样式之间切换,请使用 `date_format_style` 设置:
26+
要切换格式样式,请使用 `date_format_style` 设置:
2727

2828
```sql
29-
-- 设置 Oracle 样式日期格式
29+
-- 设置 Oracle 风格的日期格式
3030
SETTINGS (date_format_style = 'Oracle') SELECT to_string('2024-04-05'::DATE, 'YYYY-MM-DD');
3131

32-
-- 设置 MySQL 日期格式样式 (默认)
32+
-- 设置 MySQL 日期格式样式(默认)
3333
SETTINGS (date_format_style = 'MySQL') SELECT to_string('2024-04-05'::DATE, '%Y-%m-%d');
3434
```
3535

36-
### Oracle 样式格式说明符
36+
### Oracle 风格的格式说明符
3737

3838
`date_format_style` 设置为 'Oracle' 时,支持以下格式说明符:
3939

40-
| 格式说明符 | 描述 | 示例输出 (对于 '2024-04-05 14:30:45.123456') |
40+
| 格式说明符 | 描述 | 示例输出(针对 '2024-04-05 14:30:45.123456' |
4141
|------------------|----------------------------------------------|---------------------------------------------------|
42-
| YYYY | 4 位年份 | 2024 |
43-
| YY | 2 位年份 | 24 |
42+
| YYYY | 4 位数年份 | 2024 |
43+
| YY | 2 位数年份 | 24 |
4444
| MMMM | 完整月份名称 | April |
45-
| MON | 缩写月份名称 | Apr |
46-
| MM | 月份数字 (01-12) | 04 |
47-
| DD | 月份中的日期 (01-31) | 05 |
48-
| DY | 缩写日期名称 | Fri |
49-
| HH24 | 一天中的小时 (00-23) | 14 |
50-
| HH12 | 一天中的小时 (01-12) | 02 |
51-
| AM/PM | 上午/下午指示符 | PM |
52-
| MI | 分钟 (00-59) | 30 |
53-
| SS | (00-59) | 45 |
45+
| MON | 月份名称缩写 | Apr |
46+
| MM | 月份数字01-12 | 04 |
47+
| DD | 月份中的天数(01-31 | 05 |
48+
| DY | 星期名称缩写 | Fri |
49+
| HH24 | 小时(00-23 | 14 |
50+
| HH12 | 小时(01-12 | 02 |
51+
| AM/PM | 上下午指示符 | PM |
52+
| MI | 分钟00-59 | 30 |
53+
| SS |00-59 | 45 |
5454
| FF | 小数秒 | 123456 |
5555
| UUUU | ISO 周编号年份 | 2024 |
5656
| TZH:TZM | 带冒号的时区小时和分钟 | +08:00 |
@@ -59,14 +59,14 @@ SETTINGS (date_format_style = 'MySQL') SELECT to_string('2024-04-05'::DATE, '%Y-
5959
## 别名
6060

6161
- [DATE_FORMAT](../05-datetime-functions/date-format.md)
62-
- [JSON_TO_STRING](../10-semi-structured-functions/json-to-string.md)
62+
- [JSON_TO_STRING](../10-semi-structured-functions/0-json/json-to-string.md)
6363
- [TO_TEXT](../02-conversion-functions/to-text.md)
6464
- [TO_VARCHAR](to-varchar.md)
65-
- TO_CHAR (Oracle 兼容性)
65+
- TO_CHAR (Oracle 兼容)
6666

6767
## 返回类型
6868

69-
String。
69+
字符串(String
7070

7171
## 示例
7272

@@ -97,7 +97,7 @@ SELECT
9797
│ ["Cooking","Reading"] │ ["Cooking","Reading"] │ ["Cooking","Reading"] │ ["Cooking","Reading"] │ ["Cooking","Reading"] │
9898
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
9999

100-
-- 使用一个参数时,该函数将输入转换为字符串而不验证其是否为日期
100+
-- 使用一个参数时,该函数将输入转换为字符串,而不会验证其是否为日期。
101101
SELECT
102102
DATE_FORMAT('20223-12-25'),
103103
TO_STRING('20223-12-25'),
@@ -111,7 +111,7 @@ SELECT
111111
20223-12-2520223-12-2520223-12-2520223-12-2520223-12-25
112112
└────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
113113

114-
-- 使用 MySQL 格式样式 (默认)
114+
-- 使用 MySQL 格式样式(默认)
115115
SELECT
116116
DATE_FORMAT('2022-12-25', '%m/%d/%Y'),
117117
TO_STRING('2022-12-25', '%m/%d/%Y'),
@@ -125,7 +125,7 @@ SELECT
125125
12/25/202212/25/202212/25/202212/25/202212/25/2022
126126
└───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
127127

128-
-- 使用 Oracle 格式样式 (与上面 MySQL 示例相同的数据)
128+
-- 使用 Oracle 格式样式(与上面的 MySQL 示例数据相同)
129129
SETTINGS (date_format_style = 'Oracle')
130130
SELECT
131131
TO_STRING('2022-12-25', 'MM/DD/YYYY'),
@@ -136,4 +136,5 @@ SELECT
136136
├─────────────────────────────────────┼───────────────────────────────────┤
137137
12/25/202212/25/2022
138138

139-
└─────────────────────────────────────────────────────────────────────────────────────────────────────────┘
139+
└─────────────────────────────────────────────────────────────────────────────────────────────────────────┘
140+
```
Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
---
2+
title: CHECK_JSON
3+
---
4+
5+
检查 JSON 文档的有效性。
6+
如果输入字符串是有效的 JSON 文档或 `NULL`,则输出 `NULL`
7+
如果输入无法解析为有效的 JSON 值,则输出字符串包含错误信息。
8+
9+
## 语法
10+
11+
```sql
12+
CHECK_JSON( <expr> )
13+
```
14+
15+
## 参数
16+
17+
| 参数 | 描述 |
18+
|-----------|------------------------------|
19+
| `<expr>` | 字符串类型的表达式 |
20+
21+
## 返回类型
22+
23+
字符串
24+
25+
## 示例
26+
27+
```sql
28+
SELECT check_json('[1,2,3]');
29+
+-----------------------+
30+
| check_json('[1,2,3]') |
31+
+-----------------------+
32+
| NULL |
33+
+-----------------------+
34+
35+
SELECT check_json('{"key":"val"}');
36+
+-----------------------------+
37+
| check_json('{"key":"val"}') |
38+
+-----------------------------+
39+
| NULL |
40+
+-----------------------------+
41+
42+
SELECT check_json('{"key":');
43+
+----------------------------------------------+
44+
| check_json('{"key":') |
45+
+----------------------------------------------+
46+
| EOF while parsing a value at line 1 column 7 |
47+
+----------------------------------------------+
48+
```
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
title: GET_IGNORE_CASE
3+
---
4+
5+
通过字段名从包含 `OBJECT``VARIANT` 中提取值。
6+
如果任一参数为 `NULL`,则返回 `Variant``NULL`
7+
8+
`GET_IGNORE_CASE``GET` 类似,但对字段名进行不区分大小写的匹配。
9+
首先匹配完全相同的字段名,如果未找到,则按字母顺序匹配不区分大小写的字段名。
10+
11+
## 语法
12+
13+
```sql
14+
GET_IGNORE_CASE( <variant>, <field_name> )
15+
```
16+
17+
## 参数
18+
19+
| 参数 | 描述 |
20+
| :--- | :--- |
21+
| `<variant>` | 包含 ARRAY 或 OBJECT 的 VARIANT 值 |
22+
| `<field_name>` | 指定 OBJECT 键值对中键的字符串值 |
23+
24+
## 返回类型
25+
26+
VARIANT
27+
28+
## 示例
29+
30+
```sql
31+
SELECT get_ignore_case(parse_json('{"aa":1, "aA":2, "Aa":3}'), 'AA');
32+
+---------------------------------------------------------------+
33+
| get_ignore_case(parse_json('{"aa":1, "aA":2, "Aa":3}'), 'AA') |
34+
+---------------------------------------------------------------+
35+
| 3 |
36+
+---------------------------------------------------------------+
37+
```
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
---
2+
title: GET_PATH
3+
---
4+
5+
通过 `path_name``VARIANT` 中提取值。
6+
如果任一参数为 `NULL`,则返回 `NULL`;否则,返回一个 `Variant` 类型的值或 `NULL`
7+
8+
`GET_PATH` 等同于一系列 `GET` 函数的链式调用,`path_name` 由字段名串联而成,字段名前缀可以是句点(.)、冒号(:)或索引操作符(`[index]`)。第一个字段名不需要指定前导标识符。
9+
10+
## 语法
11+
12+
```sql
13+
GET_PATH( <variant>, <path_name> )
14+
```
15+
16+
## 参数
17+
18+
| 参数 | 描述 |
19+
|---------------|------------------------------------------------------------------|
20+
| `<variant>` | 包含 ARRAY 或 OBJECT 的 VARIANT 值 |
21+
| `<path_name>` | 由字段名串联组成的字符串值 |
22+
23+
## 返回类型
24+
25+
VARIANT
26+
27+
## 示例
28+
29+
```sql
30+
SELECT get_path(parse_json('{"k1":[0,1,2], "k2":{"k3":3,"k4":4}}'), 'k1[0]');
31+
+-----------------------------------------------------------------------+
32+
| get_path(parse_json('{"k1":[0,1,2], "k2":{"k3":3,"k4":4}}'), 'k1[0]') |
33+
+-----------------------------------------------------------------------+
34+
| 0 |
35+
+-----------------------------------------------------------------------+
36+
37+
SELECT get_path(parse_json('{"k1":[0,1,2], "k2":{"k3":3,"k4":4}}'), 'k2:k3');
38+
+-----------------------------------------------------------------------+
39+
| get_path(parse_json('{"k1":[0,1,2], "k2":{"k3":3,"k4":4}}'), 'k2:k3') |
40+
+-----------------------------------------------------------------------+
41+
| 3 |
42+
+-----------------------------------------------------------------------+
43+
44+
SELECT get_path(parse_json('{"k1":[0,1,2], "k2":{"k3":3,"k4":4}}'), 'k2.k4');
45+
+-----------------------------------------------------------------------+
46+
| get_path(parse_json('{"k1":[0,1,2], "k2":{"k3":3,"k4":4}}'), 'k2.k4') |
47+
+-----------------------------------------------------------------------+
48+
| 4 |
49+
+-----------------------------------------------------------------------+
50+
51+
SELECT get_path(parse_json('{"k1":[0,1,2], "k2":{"k3":3,"k4":4}}'), 'k2.k5');
52+
+-----------------------------------------------------------------------+
53+
| get_path(parse_json('{"k1":[0,1,2], "k2":{"k3":3,"k4":4}}'), 'k2.k5') |
54+
+-----------------------------------------------------------------------+
55+
| NULL |
56+
+-----------------------------------------------------------------------+
Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
title: GET
3+
---
4+
5+
通过 `index` 从包含 `ARRAY``Variant` 中提取值,或通过 `field_name` 从包含 `OBJECT``Variant` 中提取值。
6+
如果任一参数为 `NULL`,则返回 `Variant``NULL`
7+
8+
`GET``field_name` 进行区分大小写的匹配。对于不区分大小写的匹配,请使用 `GET_IGNORE_CASE`
9+
10+
## 语法
11+
12+
```sql
13+
GET( <variant>, <index> )
14+
15+
GET( <variant>, <field_name> )
16+
```
17+
18+
## 参数
19+
20+
| 参数 | 描述 |
21+
| :------------ | :----------------------------------------- |
22+
| `<variant>` | 包含 ARRAY 或 OBJECT 的 VARIANT 值 |
23+
| `<index>` | 指定 ARRAY 中元素位置的 Uint32 值 |
24+
| `<field_name>`| 指定 OBJECT 键值对中键的字符串值 |
25+
26+
## 返回类型
27+
28+
VARIANT
29+
30+
## 示例
31+
32+
```sql
33+
SELECT get(parse_json('[2.71, 3.14]'), 0);
34+
+------------------------------------+
35+
| get(parse_json('[2.71, 3.14]'), 0) |
36+
+------------------------------------+
37+
| 2.71 |
38+
+------------------------------------+
39+
40+
SELECT get(parse_json('{"aa":1, "aA":2, "Aa":3}'), 'aa');
41+
+---------------------------------------------------+
42+
| get(parse_json('{"aa":1, "aA":2, "Aa":3}'), 'aa') |
43+
+---------------------------------------------------+
44+
| 1 |
45+
+---------------------------------------------------+
46+
47+
SELECT get(parse_json('{"aa":1, "aA":2, "Aa":3}'), 'AA');
48+
+---------------------------------------------------+
49+
| get(parse_json('{"aa":1, "aA":2, "Aa":3}'), 'AA') |
50+
+---------------------------------------------------+
51+
| NULL |
52+
+---------------------------------------------------+
53+
```
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
title: JSON 函数
3+
---
4+
5+
本节提供 Databend 中 JSON 函数 (JSON Functions) 的参考信息。JSON 函数能够解析、验证、查询和操作 JSON 数据结构。
6+
7+
## JSON 解析与验证
8+
9+
| 函数 | 描述 | 示例 |
10+
|----------|-------------|---------|
11+
| [PARSE_JSON](parse-json) | 将 JSON 字符串解析为 variant (variant) 值 | `PARSE_JSON('{"name":"John","age":30}')``{"name":"John","age":30}` |
12+
| [CHECK_JSON](check-json) | 验证字符串是否为有效的 JSON | `CHECK_JSON('{"valid": true}')``true` |
13+
14+
## JSON 类型信息
15+
16+
| 函数 | 描述 | 示例 |
17+
|----------|-------------|---------|
18+
| [JSON_TYPEOF](json-typeof) | 返回 JSON 值的类型 | `JSON_TYPEOF('{"key": "value"}')``'OBJECT'` |
19+
20+
## JSON 转换
21+
22+
| 函数 | 描述 | 示例 |
23+
|----------|-------------|---------|
24+
| [JSON_TO_STRING](json-to-string) | 将 JSON 值转换为字符串 | `JSON_TO_STRING({"name":"John"})``'{"name":"John"}'` |
25+
26+
## JSON 路径操作
27+
28+
| 函数 | 描述 | 示例 |
29+
|----------|-------------|---------|
30+
| [JSON_PATH_EXISTS](json-path-exists) | 检查 JSON 路径是否存在 | `JSON_PATH_EXISTS('{"a":1}', '$.a')``true` |
31+
| [JSON_PATH_MATCH](json-path-match) | 根据路径模式匹配 JSON 值 | `JSON_PATH_MATCH('{"items":[1,2,3]}', '$.items[*]')``[1,2,3]` |
32+
| [JSON_PATH_QUERY](json-path-query) | 使用 JSONPath 查询 JSON 数据 | `JSON_PATH_QUERY('{"a":1,"b":2}', '$.a')``1` |
33+
| [JSON_PATH_QUERY_ARRAY](json-path-query-array) | 查询 JSON 数据并以数组形式返回结果 | `JSON_PATH_QUERY_ARRAY('[1,2,3]', '$[*]')``[1,2,3]` |
34+
| [JSON_PATH_QUERY_FIRST](json-path-query-first) | 从 JSON 路径查询中返回第一个结果 | `JSON_PATH_QUERY_FIRST('[1,2,3]', '$[*]')``1` |
35+
36+
## JSON 数据提取
37+
38+
| 函数 | 描述 | 示例 |
39+
|----------|-------------|---------|
40+
| [JSON_EXTRACT_PATH_TEXT](json-extract-path-text) | 使用路径从 JSON 中提取文本值 | `JSON_EXTRACT_PATH_TEXT('{"name":"John"}', 'name')``'John'` |
41+
| [JSON_EACH](json-each) | 将 JSON 对象展开为键值对 | `JSON_EACH('{"a":1,"b":2}')``[("a",1),("b",2)]` |
42+
| [JSON_ARRAY_ELEMENTS](json-array-elements) | 将 JSON 数组展开为单个元素 | `JSON_ARRAY_ELEMENTS('[1,2,3]')``1, 2, 3` |
43+
44+
## JSON 格式化与处理
45+
46+
| 函数 | 描述 | 示例 |
47+
|----------|-------------|---------|
48+
| [JSON_PRETTY](json-pretty) | 使用适当的缩进格式化 JSON | `JSON_PRETTY('{"a":1}')` → 格式化的 JSON 字符串 |
49+
| [STRIP_NULL_VALUE](strip-null-value) | 从 JSON 中移除空值 | `STRIP_NULL_VALUE('{"a":1,"b":null}')``{"a":1}` |
50+
| [JQ](jq) | 使用 jq 风格的查询处理 JSON | `JQ('{"name":"John"}', '.name')``"John"` |

0 commit comments

Comments
 (0)