跳到主要内容

load_json

加载并解析本pkg支持的json格式配置文件

声明

string load_json(mixed config_file_or_dict, bool expand_config = false, function filter_func = nil)

参数

参数名描述
config_file_or_dict配置文件或者配置词典
expand_config是否展开.json文件中的--config
filter_func过滤函数

返回值

命令行参数文本

使用方式

返回文档