比较rapidjson:文档
Compare rapidjson::Documents
我有两个RapidJSON文档。一个是在运行时创建的,另一个是从磁盘读取的。
我想比较一下这两个文档是否相似。比较RapidJSON文档的最佳方法是什么?
我的JSON是这样的
{
"SimpleCompany:Manager":
{
"read":true,
"update":true,
"delete":true,
"insert":true
},
"SimpleCompany:Manager":
{
"read":true,
"update":true,
"delete":true,
"insert":true
},
}
是的,现在,GenericValue
用其他值,字符串或原语覆盖operator==
:
bool operator==(const GenericValue<...>& rhs) const;
bool operator==(const Ch* rhs) const;
bool operator==(const std::basic_string<Ch>& rhs) const;
bool operator==(const T& rhs) const;
相关文章:
- 正在查找文档以获得PS4平台的C++中的设备信息
- 如何在文档文件夹中创建目录
- 当Microsoft文档仅包含 C# 示例时,如何查找 C++ 包含文件名
- 通过构造函数创建一些值并尝试添加到文档中使用 rapidjson 不起作用
- 关于类的 Python 文档 - 对C++的引用不正确
- C++/autoconf 等效于文档库要求.txt的要求是什么?
- 如何使用基于范围的for循环迭代Rapidjson文档(它本身就是一个JSON数组)
- RapidJSON 文档创建嵌套对象
- 从 Rapidjson 值转换为 Rapidjson 文档
- Rapidjson将密钥值从一个文档对象分配到另一个文档对象
- rapidjson:如何将文档对象拆分为较小的文档对象
- 如何在文件中添加Rapidjson ::文档
- 在使用 RapidJSON 解析文档时跳过某些字段
- RapidJSON:使用文档或编写器构建之间的差异
- 如何将字符串对添加到rapidjson的文档中
- rapidjson:用于从文件中读取文档的工作代码
- 如何将RapidJSON文档序列化为字符串
- Rapidjson:在文档中添加外部子文档
- 比较rapidjson:文档
- Rapidjson返回对文档值的引用