![]() |
VOOZH | about |
RelativeJsonPointerIdentifier Class
Namespace: Json.Schema.Data.Keywords
Inheritance: RelativeJsonPointerIdentifier 🡒 object
Implemented interfaces:
Handles data references that are Relative JSON Pointers.
| Name | Type | Summary |
|---|---|---|
| Target | RelativeJsonPointer | The Relative JSON Pointer target. |
Creates a new instance of Json.Schema.Data.Keywords.RelativeJsonPointerIdentifier.
1
public RelativeJsonPointerIdentifier(RelativeJsonPointer target)
| Parameter | Type | Description |
|---|---|---|
| target | RelativeJsonPointer | The target. |
Returns a string that represents the current object.
1
public override string ToString()
A string that represents the current object.
Attempts to resolve a value from the specified JSON element.
1
public bool TryResolve(JsonElement root, out JsonElement value)
| Parameter | Type | Description |
|---|---|---|
| root | JsonElement | The root System.Text.Json.JsonElement to search for the desired value. |
| value | out JsonElement | When this method returns, contains the resolved System.Text.Json.JsonElement if the operation succeeds; otherwise, |
true if the value was successfully resolved; otherwise, false.
A new version of content is available.