ObjectEnumerator<TValue>.GetEnumerator Method
Definition
Namespace: Corvus.Text.Json
Assembly: Corvus.Text.Json.dll
Source: ObjectEnumerator.cs
GetEnumerator()
Returns an enumerator that iterates the properties of an object.
public ObjectEnumerator<TValue> GetEnumerator()
Returns
An ObjectEnumerator value that can be used to iterate through the object.
Implements
IEnumerable<JsonProperty<TValue>>.GetEnumerator
Remarks
The enumerator will enumerate the properties in the order they are declared, and when an object has multiple definitions of a single property they will all individually be returned (each in the order they appear in the content).
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