9[DebuggerDisplay(
"JsonArray[{List.Count}]")]
16 [DebuggerDisplay(
"{Display,nq}")]
37 return $"JsonObject[{jsonObject.Count}]";
40 return $"JsonArray[{jsonArray.List.Count}]";
108 for (
int i = 0; i < items.Length; i++)
134 [
RequiresUnreferencedCode(
"Creating JsonValue instances with non-primitive types is not compatible with trimming. It can result in non-primitive types being serialized, which may have their members trimmed.")]
157 value?.AssignParent(
this);
224 item?.AssignParent(
this);
249 item?.AssignParent(
this);
void CopyTo(KeyValuePair< TKey, TValue >[] array, int index)
bool ICollection< KeyValuePair< TKey, TValue > >. IsReadOnly
Enumerator GetEnumerator()
void Add(TKey key, TValue value)
Enumerator GetEnumerator()
void Insert(int index, T item)
static string NodeElementWrongType
static string Format(string resourceFormat, object p1)
static readonly JsonSerializerOptions s_defaultOptions
DebugView(JsonArray node)
bool Contains(JsonNode? item)
bool Remove(JsonNode? item)
int IndexOf(JsonNode? item)
JsonArray(JsonNodeOptions? options=null)
void DetachParent(JsonNode item)
override void GetPath(List< string > path, JsonNode child)
static ? JsonArray Create(JsonElement element, JsonNodeOptions? options=null)
JsonArray(JsonNodeOptions options, params JsonNode?[] items)
void SetItem(int index, JsonNode value)
JsonArray(JsonElement element, JsonNodeOptions? options=null)
JsonArray(params JsonNode?[] items)
IEnumerator< JsonNode?> GetEnumerator()
void Insert(int index, JsonNode? item)
void InitializeFromArray(JsonNode[] items)
JsonElement? _jsonElement
JsonNode GetItem(int index)
override void WriteTo(Utf8JsonWriter writer, JsonSerializerOptions? options=null)
void AssignParent(JsonNode parent)
string ToJsonString(JsonSerializerOptions? options=null)
JsonNode(JsonNodeOptions? options=null)
static JsonNode Create(JsonElement element, JsonNodeOptions? options)
static JsonNodeConverter Instance
new IEnumerator< T > GetEnumerator()
void WriteTo(Utf8JsonWriter writer)
ArrayEnumerator EnumerateArray()