Take the 2-minute tour ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I am using jsoncpp, is there a way to put a map in Json::Value ?

I understand I can extract keys one by one and put them in the Json::Value. but is there a more graceful way ? for example in the C# counter part NewtonSoft json api

I would do

      String json = JsonConvert.SerializeObject(cmdDict);   
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.