jsoncpp no operator matches these operands “>>”
My C++ program below is supposed to read a json file called english.json
and display the “title” information.
jsoncpp no operator matches these operands “>>”
My C++ program below is supposed to read a json file called english.json
and display the “title” information.
What is the right way to compare Json objects?
I have 2 Jsons that are exact, but the equality operator returns false. However, if I turn them into strings, the comparison does work. I have had this problem also in other programming languages as well, so this makes me wonder: What is the right way to compare Jsons?