Home IDataResourceIdentifier Interface
IDataResourceIdentifier Interface
Cancel

IDataResourceIdentifier Interface

Namespace: Json.Schema.Data.Keywords

Inheritance: IDataResourceIdentifier

Provides an abstraction for different resource identifier types.

Methods

TryResolve(JsonElement root, out JsonElement value)

Attempts to resolve a value from the specified JSON element.

Declaration

1
public abstract bool TryResolve(JsonElement root, out JsonElement value)
ParameterTypeDescription
rootJsonElementThe root System.Text.Json.JsonElement to search for the desired value.
valueout JsonElementWhen this method returns, contains the resolved System.Text.Json.JsonElement if the operation succeeds; otherwise,

Returns

true if the value was successfully resolved; otherwise, false.

Contents