System::Text::Json::Nodes::JsonObject class

JsonObject class

class JsonObject : public System::Text::Json::Nodes::JsonNode,
                   public System::Collections::Generic::IDictionary<String, System::SharedPtr<JsonNode>>,
                   public System::Collections::Generic::IList<Collections::Generic::KeyValuePair<String, System::SharedPtr<JsonNode>>>

Methods

MethodDescription
Add(const String&, const System::SharedPtr<JsonNode>&) override
Add(const Collections::Generic::KeyValuePair<String, System::SharedPtr<JsonNode>>&) override
Clear() overrideDeletes all elements from collection.
ContainsKey(const String&) const overrideChecks if container contains key.
static Create(JsonElement, Nullable<JsonNodeOptions>)
get_Count() const overrideUnhides get_Count member function.
GetAt(int32_t)
GetEnumerator() overrideGets enumerator.
idx_get(const String&) const overrideGetter function.
idx_get(int32_t) const override
idx_set(const String&, System::SharedPtr<JsonNode>) override
idx_set(int32_t, Collections::Generic::KeyValuePair<String, System::SharedPtr<JsonNode>>) override
IndexOf(const String&) const
Insert(int32_t, String, System::SharedPtr<JsonNode>)
JsonObject(Nullable<JsonNodeOptions>)
JsonObject(System::SharedPtr<Collections::Generic::IEnumerable<Collections::Generic::KeyValuePair<String, System::SharedPtr<JsonNode>>>>, Nullable<JsonNodeOptions>)
Remove(const String&) overrideRemoves key from container.
RemoveAt(int32_t) override
SetAt(int32_t, String, System::SharedPtr<JsonNode>)
SetAt(int32_t, System::SharedPtr<JsonNode>)
TryAdd(String, System::SharedPtr<JsonNode>)
TryAdd(String, System::SharedPtr<JsonNode>, int32_t&)
TryGetPropertyValue(String, System::SharedPtr<JsonNode>&)
TryGetPropertyValue(String, System::SharedPtr<JsonNode>&, int32_t&)
WriteTo(System::SharedPtr<Utf8JsonWriter>, System::SharedPtr<JsonSerializerOptions>) override

See Also