Skip to content

ObjectEnumerator<TValue>

Definition

Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: ObjectEnumerator.cs

An enumerable and enumerator for the properties of a JSON object.

public readonly struct ObjectEnumerator<TValue> : IEnumerable<JsonProperty<TValue>>, IEnumerable, IEnumerator<JsonProperty<TValue>>, IEnumerator, IDisposable
    where TValue : struct, IJsonElement<TValue>

Implements

IEnumerable<JsonProperty<TValue>>, IEnumerable, IEnumerator<JsonProperty<TValue>>, IEnumerator, IDisposable

Properties

Property Type Description
Current JsonProperty<TValue> Gets the current element in the enumeration.

Methods

Method Description
Dispose()
GetEnumerator() Returns an enumerator that iterates the properties of an object.
MoveNext()
Reset()

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue