<PackageReference Include="NJsonSchema" Version="11.0.0" />

AsyncJsonReferenceVisitorBase

public abstract class AsyncJsonReferenceVisitorBase
Visitor to transform an object with JsonSchema objects.

Initializes a new instance of the AsyncJsonReferenceVisitorBase class.

Initializes a new instance of the AsyncJsonReferenceVisitorBase class.

public virtual Task VisitAsync(object obj, CancellationToken cancellationToken)

Processes an object.

protected virtual Task VisitAsync(object obj, string path, string typeNameHint, ISet<object> checkedObjects, Action<object> replacer, CancellationToken cancellationToken)

Processes an object.

protected abstract Task<IJsonReference> VisitJsonReferenceAsync(IJsonReference reference, string path, string typeNameHint, CancellationToken cancellationToken)

Called when a IJsonReference is visited.