Struct JsonNavigationSegment
- Namespace
- Nerdbank.Json
- Assembly
- Nerdbank.Json.dll
Identifies one step of a targeted-deserialization path: an object member (or dictionary entry) by serialized name, or an array element by index.
public readonly struct JsonNavigationSegment
- Inherited Members
Remarks
This is passed to TryNavigate(ref JsonReader, in JsonNavigationSegment, JsonNavigationOptions) so a converter can translate a logical segment into a navigation over its own JSON representation.
Properties
Index
public int Index { get; }
Property Value
IsIndex
Gets a value indicating whether this segment selects an array element by Index.
public bool IsIndex { get; }
Property Value
Name
public string? Name { get; }