I have a string contains JSON:
Omitted backslashes for easy read.Code:std::string person = {name:"Melinda", surname:"Rose", address:"New York"};
I want to have those 3 entries into separate variables. But I am not sure I should code myself or use a library.
Is it difficult to deal with JSON in C++ or should I use a library like
https://github.com/open-source-parsers/jsoncpp
What do you recommend?
Cheers