Faster JsonCpp alternative that allows copying/mutability of Json objects?
问题 JsonCpp is slow. And the code is pretty messy. Is there any alternative that is faster, cleaner and supports stuff like: Json::Value val, copy; val["newMember"] = 100; val["newMember2"] = "hello"; copy = val; val["newMember2"] = "bye"; assert(val["newMember"] == copy["newMember"]); assert(val["newMember2"] != copy["newMember2"]); JsonCpp supports code like the one above. I've tried rapidjson , which is very fast, but unfortunately it does not support copying Json values. Any alternative?