Json的嵌套创建

//例如下为Json格式{"ErrorColor":"red","ErrorCode":123,"ResultValue":{"assyLot":"12345678901234567890","checkResult":"0","rankNo":"B"},"ErrorMessage":null,"ResultCode":0}//在代码里创建一个Json格式的rootJson::Valueroot;root["ErrorColor"]="red";root["ErrorCode"]=123;Json::ValueResultValue;ResultValue["assyLot"]="12345678901234567890";ResultValue["checkResult"]="0";ResultValue["rankNo"]="B";root["ResultValue"]=ResultValue;root["ResultCode"]=0;