Namespace: Json.Schema.Data
Inheritance: JsonPathIdentifier
🡒 object
Implemented interfaces:
- IDataResourceIdentifier
Handles data references that are JSON Paths.
Properties
Name | Type | Summary |
---|---|---|
Query | JsonPath | Gets the JSON Path query. |
Constructors
JsonPathIdentifier(JsonPath query)
Creates a new Json.Schema.Data.JsonPathIdentifier.
Declaration
1
public JsonPathIdentifier(JsonPath query)
Parameter | Type | Description |
---|---|---|
query | JsonPath | Â |
Methods
TryResolve(KeywordEvaluation evaluation, SchemaRegistry registry, out JsonNode value)
Resolves a resource.
Declaration
1
public bool TryResolve(KeywordEvaluation evaluation, SchemaRegistry registry, out JsonNode value)
Parameter | Type | Description |
---|---|---|
evaluation | KeywordEvaluation | The evaluation being process. This will help identify. |
registry | SchemaRegistry | The schema registry. |
value | out JsonNode | The value, if evaluation was resolvable. |
Returns
True if resolution was successful; false otherwise.