StructuredJsonPath 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 structured JSON path consisting of property name segments and array index placeholders, along with runtime index values for array positions.
[System.Runtime.CompilerServices.Nullable(0)]
public class StructuredJsonPath
[<System.Runtime.CompilerServices.Nullable(0)>]
type StructuredJsonPath = class
Public Class StructuredJsonPath
- Inheritance
-
StructuredJsonPath
- Attributes
Remarks
See Modeling entity types and relationships for more information and examples.
Constructors
| Name | Description |
|---|---|
| StructuredJsonPath(IReadOnlyList<StructuredJsonPathSegment>, IReadOnlyList<Nullable<Int32>>) |
Creates a new StructuredJsonPath instance. |
Properties
| Name | Description |
|---|---|
| Indices |
Gets the index values for array index placeholders. The indices are applied in order
to the segments where IsArray is |
| IsRoot |
Gets a value indicating whether this path represents the root of a JSON document ( |
| Root |
A StructuredJsonPath representing the root of a JSON document ( |
| Segments |
Gets the path segments. |
Methods
| Name | Description |
|---|---|
| AppendTo(StringBuilder, Nullable<Char>) |
Appends the JSON path string representation to the given StringBuilder. |
| ToString() | Returns a string that represents the current object. |
| ToString(Nullable<Char>) |
Returns the JSON path string representation. |