StructuredJsonPathSegment Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
Methods
| Name | Description |
|---|---|
| ToString() | Returns a string that represents the current object. |