Menu

2d Array with Json-CPP

maniche
2015-01-26
2015-01-26
  • maniche

    maniche - 2015-01-26

    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;

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.