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

JsonSchemaVisitor

public abstract class JsonSchemaVisitor
Visitor to transform an object with JsonSchema4 objects.
protected JsonSchemaVisitor()

public virtual Task VisitAsync(object obj)

Processes an object.

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

Processes an object.

protected virtual Task<IJsonReference> VisitJsonReferenceAsync(IJsonReference reference, string path, string typeNameHint)

Called when a IJsonReference is visited.

protected virtual Task<JsonSchema4> VisitSchemaAsync(JsonSchema4 schema, string path, string typeNameHint)

Called when a JsonSchema4 is visited.