把数组序列化为 JSON 字符串。
array.to_string(mode)
items = [1, 'BT'] result = items.to_string() // 输出:[1,"BT"] print result