dl
命名空间 | 类型定义 | 函数
dl_json.h 文件参考

json格式相关 更多...

#include <json.hpp>

浏览源代码.

命名空间

namespace  dl
 
namespace  dl::Json
 

类型定义

using json = nlohmann::json
 

函数

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

详细描述

json格式相关

版本
1.0
作者
lveyou
日期
23-07-22
注解
基于 nlohmann::json

在文件 dl_json.h 中定义.

类型定义说明

◆ json

using json = nlohmann::json

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