Check out this JS code below:
var Info = {
result1: {
ID1: "some text",
ID2: "some text",
},
result2: {
ID1: "some text",
ID2: "some text",
}
}
I am looking to convert the above code to C++. One approach I am considering is utilizing
vector<map<string,string>> some_value
, but I'm open to other suggestions.
Do you have any ideas on a better way to achieve this?