aardio 文档
string.toml 库模块帮助文档
string.toml 成员列表
TOML 解析
注意 TOML 不支持 null 值,转换时会自动清除 null 值
string.toml.fromJson(json,pretty)
JSON 转为 TOML,
参数与返回值都是字符串,参数 @pretty 指定是否格式化
string.toml.parse(toml)
解析 TOML 字符串
string.toml.stringify(value,pretty)
参数 @1 指定的值转换为 TOML 字符串
string.toml.stringifyArray(value,pretty)
参数 @1 指定的值作为数组转换为 TOML 字符串
string.toml.strip(value)
参数 @1 指定的值转换为 toml 再解析 TOML 并返回解析后的值
string.toml.toJson(toml,pretty)
TOML 转为 JSON,
参数与返回值都是字符串,参数 @pretty 指定是否格式化
string.toml.tryParse(toml)
解析 TOML 字符串
Markdown 格式