I am using jsoncpp, is there a way to put a map in Json :: Value?
I understand that I can extract the keys one by one and put them in Json :: Value. but is there a more elegant way? e.g. in the counter part of C # NewtonSoft json api
I would do
String json = JsonConvert.SerializeObject(cmdDict);
Ahmed source
share