Relative Content

Tag Archive for c++jsonjsoncpp

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?