Język

StructuredJsonPathSegment Klasa

Definicja

Reprezentuje pojedynczy segment w ścieżce JSON. Segment jest nazwą właściwości lub symbolem zastępczym indeksu tablicy.

[System.Runtime.CompilerServices.Nullable(0)]
public sealed class StructuredJsonPathSegment
[<System.Runtime.CompilerServices.Nullable(0)>]
type StructuredJsonPathSegment = class
Public NotInheritable Class StructuredJsonPathSegment
Dziedziczenie
StructuredJsonPathSegment
Atrybuty

Uwagi

Aby uzyskać więcej informacji i przykładów, zobacz Modelowanie typów jednostek i relacji .

Konstruktory

Nazwisko Opis
StructuredJsonPathSegment(String)

Tworzy nowy StructuredJsonPathSegment element dla nazwanej właściwości.

Właściwości

Nazwisko Opis
Array

Tworzy nowy StructuredJsonPathSegment symbol zastępczy indeksu tablicy.

IsArray

Pobiera wartość wskazującą, czy ten segment reprezentuje symbol zastępczy indeksu tablicy.

PropertyName

Pobiera nazwę właściwości JSON. null dla segmentów zastępczych indeksu tablicy.

Metody

Nazwisko Opis
ToString()

Reprezentuje pojedynczy segment w ścieżce JSON. Segment jest nazwą właściwości lub symbolem zastępczym indeksu tablicy.

Dotyczy