to_json方法

to_json(self, options)

将范围转换为 JSON 值。

返回


def to_json(self, options):
    ...
范围类型描述
optionsJsonSaveOptions转换选项

也可以看看