dl
函数
dl::Json 命名空间参考

函数

json Parse (std::string_view path_name)
 从 文件 构建json对象 更多...
 
template<typename T >
bool Get (const json &j, const std::string &name, T &t)
 从json返回值,不存在则返回false,并且不进行任何操作 更多...
 

函数说明

◆ Get()

template<typename T >
bool dl::Json::Get ( const json &  j,
const std::string &  name,
T &  t 
)

从json返回值,不存在则返回false,并且不进行任何操作

在文件 dl_json.h 第 32 行定义.

◆ Parse()

json dl::Json::Parse ( std::string_view  path_name)

从 文件 构建json对象

注解
失败返回null,并输出日志