@@ -34,7 +34,7 @@ Represents a JSON Pointer IAW RFC 6901.
34
34
| ---| ---| ---|
35
35
| ** Count** | int | Gets the number of segments in the pointer. |
36
36
| ** Item** | string | Gets a segment value by index. |
37
- | ** Item** | JsonPointer | |
37
+ | ** Item** | JsonPointer | Creates a new pointer with the indicated segments. |
38
38
39
39
## Methods
40
40
@@ -78,16 +78,22 @@ A new pointer.
78
78
79
79
### Combine(ReadOnlySpan\< PointerSegment\> additionalSegments)
80
80
81
+ Concatenates additional segments onto the current pointer.
81
82
82
83
#### Declaration
83
84
84
85
``` c#
85
86
public JsonPointer Combine (ReadOnlySpan < PointerSegment > additionalSegments )
86
87
```
87
88
89
+ | Parameter | Type | Description |
90
+ | ---| ---| ---|
91
+ | additionalSegments | ReadOnlySpan\< PointerSegment\> | The additional segments. |
92
+
88
93
89
94
#### Returns
90
95
96
+ A new pointer.
91
97
92
98
### Create(params PointerSegment[ ] segments)
93
99
@@ -114,16 +120,26 @@ This method creates un-encoded pointers only.
114
120
115
121
### Create(ReadOnlySpan\< PointerSegment\> segments)
116
122
123
+ Creates a new JSON Pointer from a collection of segments.
117
124
118
125
#### Declaration
119
126
120
127
``` c#
121
128
public static JsonPointer Create (ReadOnlySpan < PointerSegment > segments )
122
129
```
123
130
131
+ | Parameter | Type | Description |
132
+ | ---| ---| ---|
133
+ | segments | ReadOnlySpan\< PointerSegment\> | A collection of segments. |
134
+
124
135
125
136
#### Returns
126
137
138
+ The JSON Pointer.
139
+
140
+ #### Remarks
141
+
142
+ This method creates un-encoded pointers only.
127
143
128
144
### Create(Expression\< Func\< T, object\>\> expression, PointerCreationOptions options)
129
145
@@ -272,16 +288,22 @@ A new pointer.
272
288
273
289
### GetSubPointer(Range range)
274
290
291
+ Creates a new pointer with the indicated segments.
275
292
276
293
#### Declaration
277
294
278
295
``` c#
279
296
public JsonPointer GetSubPointer (Range range )
280
297
```
281
298
299
+ | Parameter | Type | Description |
300
+ | ---| ---| ---|
301
+ | range | Range | The segment range for the new pointer. |
302
+
282
303
283
304
#### Returns
284
305
306
+ A new pointer.
285
307
286
308
### Parse(ReadOnlySpan\< char\> source)
287
309
0 commit comments