#includeIn this example, we create a `JsonObject` called `root` and add three key-value pairs to it using the `JsonObject.Add` function. We also create another `JsonObject` called `contact` and add two key-value pairs to it. Finally, we add the `contact` object as a value to the `root` object using the same `Add` function. The `jsoncpp` library is used in this example to work with JSON data in C++. Overall, the `JsonObject.Add` method is a useful tool for building complex JSON objects in C++.#include int main() { Json::Value root; root["name"] = "John"; root["age"] = 25; root["gender"] = "male"; Json::Value contact; contact["email"] = "[email protected]"; contact["phone"] = "+1-555-1234"; root["contact"] = contact; std::cout << root.toStyledString() << std::endl; return 0; }