jsoncpp 升级1.9.5

Signed-off-by: zt147369 <zhangting201@huawei.com>
This commit is contained in:
zt147369
2023-03-10 09:16:32 +00:00
parent d48008ac97
commit 855b19ce1e
68 changed files with 1234 additions and 1193 deletions
+1 -2
View File
@@ -1,5 +1,4 @@
#include "json/json.h"
#include <cstdlib>
#include <iostream>
/** \brief Write a Value object to a string.
* Example Usage:
@@ -16,7 +15,7 @@
int main() {
Json::Value root;
Json::Value data;
JSONCPP_CONST bool shouldUseOldWay = false;
constexpr bool shouldUseOldWay = false;
root["action"] = "run";
data["number"] = 1;
root["data"] = data;