I want to create a json file looking like this:
"G01": [ { "Wert": 19.9935, "Toleranzfeld": 0.013 },
But i dont know how to get an 2d array with the value 19.9935 on the right side and "Wert" on the left side in an array. What i do :
G01.append("Wert");
Bauteil["Konstruktionsteil"]["Kontur"][Gruppen[i]->GetGroupName()]["Beschreibung"]["G01"]= G01;
jsoncpp has moved to github.
Log in to post a comment.
I want to create a json file looking like this:
But i dont know how to get an 2d array with the value 19.9935 on the right side and "Wert" on the left side in an array. What i do :
G01.append("Wert");
Bauteil["Konstruktionsteil"]["Kontur"][Gruppen[i]->GetGroupName()]["Beschreibung"]["G01"]= G01;
jsoncpp has moved to github.