Language

StructuredJsonPathSegment Class

Definition

Represents a single segment in a JSON path. A segment is either a property name or an array index placeholder.

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

Remarks

See Modeling entity types and relationships for more information and examples.

Constructors

Name Description
StructuredJsonPathSegment(String)

Creates a new StructuredJsonPathSegment for a named property.

Properties

Name Description
Array

Creates a new StructuredJsonPathSegment for an array index placeholder.

IsArray

Gets a value indicating whether this segment represents an array index placeholder.

PropertyName

Gets the JSON property name. null for array index placeholder segments.

Methods

Name Description
ToString()

Returns a string that represents the current object.

Applies to