注意:以下翻译的准确性尚未经过验证。这是使用 AIP ↗ 从原始英文文本进行的机器翻译。
支持于: 批处理, 流处理
将输入变换为json字符串。
表达式类别: 文件, 字符串
输出类型: 字符串
参数值:
array
array | 输出 |
---|---|
[ hello, world ] | ["hello","world"] |
参数值:
struct
struct | 输出 |
---|---|
{ airline: { id: NA, }, } | {"airline":{"id":"NA"}} |
参数值:
struct_0
struct_0 | 输出 |
---|---|
{ date: 2021-01-01, dec32: 1.12, dec33: 0.120, **dec... | {"dec32":1.12,"dec33":0.120,"dec64":10.0000,"timestamp":"2021-01-01T01:01:01.000Z","date":"2021-01-01","struct_1":{"airline":{"id":"NA"}}} |
参数值:
array
array | 输出 |
---|---|
[ 1.00, 2.10, 36.00 ] | [1.00,2.10,36.00] |
参数值:
map
map | 输出 |
---|---|
{ a -> 1, b -> 2, } | {"a":"1","b":"2"} |
参数值:
array
array | 输出 |
---|---|
[ { airline: { id: NA, }, }, null ] | [{"airline":{"id":"NA"}},null] |
参数值:
map
map | 输出 |
---|---|
{ a -> { airline: { id: NA, }, }, } | {"a":{"airline":{"id":"NA"}}} |
参数值:
struct_0
struct_0 | 输出 |
---|---|
{ array_1: [ null, null, null ], struct_1: { double: null, string: null, }, } | {"struct_1":{"string","double"},"array_1":[null,null,null]} |
{ array_1: null, struct_1: null, } | {"struct_1","array_1"} |