System.Text.Json.Nodes.JsonObject
public sealed class JsonObject : JsonNode, IDictionary<string, JsonNode>, ICollection<KeyValuePair<string, JsonNode>>, IEnumerable<KeyValuePair<string, JsonNode>>, IEnumerable, IList<KeyValuePair<string, JsonNode>>
Represents a mutable JSON object.
namespace System.Text.Json.Nodes
{
public sealed class JsonObject : JsonNode, IDictionary<string, JsonNode>, ICollection<KeyValuePair<string, JsonNode>>, IEnumerable<KeyValuePair<string, JsonNode>>, IEnumerable, IList<KeyValuePair<string, JsonNode>>
{
public int Count { get; }
[Nullable(new byte[] {
0,
1,
2
})]
KeyValuePair<string, JsonNode> IList<KeyValuePair<string, JsonNode>>.this[int index] { get; set; }
public JsonObject(JsonNodeOptions? options = default(JsonNodeOptions?));
public JsonObject(IEnumerable<KeyValuePair<string, JsonNode>> properties, JsonNodeOptions? options = default(JsonNodeOptions?));
public static JsonObject Create(JsonElement element, JsonNodeOptions? options = default(JsonNodeOptions?));
public bool TryGetPropertyValue(string propertyName, out JsonNode jsonNode);
public void Add(string propertyName, JsonNode value);
public void Add(KeyValuePair<string, JsonNode> property);
public void Clear();
public bool ContainsKey(string propertyName);
public bool Remove(string propertyName);
public IEnumerator<KeyValuePair<string, JsonNode>> GetEnumerator();
public KeyValuePair<string, JsonNode> GetAt(int index);
public void SetAt(int index, string propertyName, JsonNode value);
public void SetAt(int index, JsonNode value);
public int IndexOf(string propertyName);
public void Insert(int index, string propertyName, JsonNode value);
public void RemoveAt(int index);
}
}