Share via


JsonPatch.ArrayEnumerator Struct

Definition

A ref struct enumerator that iterates over elements of a JSON array, yielding each element as a ReadOnlyMemory<T> of UTF-8 bytes.

public ref struct JsonPatch.ArrayEnumerator
type JsonPatch.ArrayEnumerator = struct
Public Structure JsonPatch.ArrayEnumerator
Inheritance
JsonPatch.ArrayEnumerator

Properties

Name Description
Current

Gets the current array element as raw UTF-8 JSON bytes.

Methods

Name Description
GetEnumerator()

Returns this enumerator instance, enabling foreach usage.

MoveNext()

Advances the enumerator to the next element in the array.

Applies to