Home RelativeJsonPointerIdentifier Class
RelativeJsonPointerIdentifier Class
Cancel

RelativeJsonPointerIdentifier Class

Namespace: Json.Schema.Data

Inheritance: RelativeJsonPointerIdentifier 🡒 object

Implemented interfaces:

  • IDataResourceIdentifier

Handles data references that are Relative JSON Pointers.

Properties

NameTypeSummary
TargetRelativeJsonPointerThe Relative JSON Pointer target.

Constructors

RelativeJsonPointerIdentifier(RelativeJsonPointer target)

Creates a new instance of Json.Schema.Data.RelativeJsonPointerIdentifier.

Declaration

1
public RelativeJsonPointerIdentifier(RelativeJsonPointer target)
ParameterTypeDescription
targetRelativeJsonPointerThe target.

Methods

ToString()

Returns a string that represents the current object.

Declaration

1
public override string ToString()

Returns

A string that represents the current object.

TryResolve(KeywordEvaluation evaluation, SchemaRegistry registry, out JsonNode value)

Resolves a resource.

Declaration

1
public bool TryResolve(KeywordEvaluation evaluation, SchemaRegistry registry, out JsonNode value)
ParameterTypeDescription
evaluationKeywordEvaluationThe evaluation being process. This will help identify.
registrySchemaRegistryThe schema registry.
valueout JsonNodeThe value, if evaluation was resolvable.

Returns

True if resolution was successful; false otherwise.

Contents