## JsonObject::Add(const Collections::Generic::KeyValuePair\<String, System::SharedPtr\<JsonNode\>\>\&) method




```cpp
void System::Text::Json::Nodes::JsonObject::Add(const Collections::Generic::KeyValuePair<String, System::SharedPtr<JsonNode>> &property) override
```

## See Also

* Class [KeyValuePair](../../../system.collections.generic/keyvaluepair/)
* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [JsonObject](../)
* Namespace [System::Text::Json::Nodes](../../)
* Library [Aspose.TeX for C++](../../../)
## JsonObject::Add(const String\&, const System::SharedPtr\<JsonNode\>\&) method




```cpp
void System::Text::Json::Nodes::JsonObject::Add(const String &propertyName, const System::SharedPtr<JsonNode> &value) override
```

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [JsonObject](../)
* Namespace [System::Text::Json::Nodes](../../)
* Library [Aspose.TeX for C++](../../../)
