c++ json 添加节点
#pragma once
#include <iostream>
#include <windows.h>
#include <wininet.h>
#include <fstream>
#include <cassert>
#include "json.h"
#include <fstream>
#include <cstring>
#include <sstream>
using namespace std;
using namespace Json;
int sotrage_json()
{
//根节点
Value root_first; //主节点
Value root_second; //次节点
Value root_third; //子节点
//次节点属性
root_second["ID"] = Value(1);
root_second["loop id"] = Value("VC2b8a");
root_second["event_exsit"] = Value(1);
root_second["event_id"] = Value("m325");
//数组形式
root_second["achievement"].append("ach1");
root_second["achievement"].append("ach2");
root_second["achievement"].append("ach3");
//子节点属性
root_third["MC_PARAMA_K1"] = Value(8);
root_third["MC_PARAMA_B1"] = Value(-20);
root_third["MC_PARAMA