把对象序列化为 JSON 字符串。
object.to_string(mode)
user = {name: 'BT', age: 1} result = user.to_string() // 输出:{"name":"BT","age":1} print result