API Differences between 10.1.3 and 10.4.0
20 Additions
29 Removals
NJsonSchema
-
public static class JsonPathUtilities
-
public class JsonReferenceResolver
- public virtual IJsonReference ResolveDocumentReference(object rootObject, string jsonPath, Type targetType, IContractResolver contractResolver)
- public virtual Task<IJsonReference> ResolveFileReferenceAsync(string filePath, CancellationToken cancellationToken = default)
- public Task<IJsonReference> ResolveReferenceAsync(object rootObject, string jsonPath, Type targetType, IContractResolver contractResolver, CancellationToken cancellationToken = default)
- public Task<IJsonReference> ResolveReferenceWithoutAppendAsync(object rootObject, string jsonPath, Type targetType, IContractResolver contractResolver, CancellationToken cancellationToken = default)
- public virtual Task<IJsonReference> ResolveUrlReferenceAsync(string url, CancellationToken cancellationToken = default)
- public virtual IJsonReference ResolveDocumentReference(object rootObject, string jsonPath)
- public virtual Task<IJsonReference> ResolveFileReferenceAsync(string filePath)
- public Task<IJsonReference> ResolveReferenceAsync(object rootObject, string jsonPath)
- public Task<IJsonReference> ResolveReferenceWithoutAppendAsync(object rootObject, string jsonPath)
- public virtual Task<IJsonReference> ResolveUrlReferenceAsync(string url)
-
public class JsonSchema : JsonReferenceBase<JsonSchema>, IDocumentPathProvider, IJsonReference, IJsonReferenceBase, IJsonExtensionObject
- public string DeprecatedMessage { get; set; }
- public static Task<JsonSchema> FromFileAsync(string filePath, CancellationToken cancellationToken = default)
- public static Task<JsonSchema> FromFileAsync(string filePath, Func<JsonSchema, JsonReferenceResolver> referenceResolverFactory, CancellationToken cancellationToken = default)
- public static Task<JsonSchema> FromJsonAsync(string data, CancellationToken cancellationToken = default)
- public static Task<JsonSchema> FromJsonAsync(string data, string documentPath, CancellationToken cancellationToken = default)
- public static Task<JsonSchema> FromJsonAsync(string data, string documentPath, Func<JsonSchema, JsonReferenceResolver> referenceResolverFactory, CancellationToken cancellationToken = default)
- public static Task<JsonSchema> FromFileAsync(string filePath)
- public static Task<JsonSchema> FromFileAsync(string filePath, Func<JsonSchema, JsonReferenceResolver> referenceResolverFactory)
- public static Task<JsonSchema> FromJsonAsync(string data)
- public static Task<JsonSchema> FromJsonAsync(string data, string documentPath)
- public static Task<JsonSchema> FromJsonAsync(string data, string documentPath, Func<JsonSchema, JsonReferenceResolver> referenceResolverFactory)
- public static Task<JsonSchema> FromUrlAsync(string url, CancellationToken cancellationToken = default)
- public static Task<JsonSchema> FromUrlAsync(string url, Func<JsonSchema, JsonReferenceResolver> referenceResolverFactory, CancellationToken cancellationToken = default)
- public static Task<JsonSchema> FromUrlAsync(string url)
- public static Task<JsonSchema> FromUrlAsync(string url, Func<JsonSchema, JsonReferenceResolver> referenceResolverFactory)
- public JToken ToSampleJson()
-
public static class JsonSchemaReferenceUtilities
NJsonSchema.Annotations
NJsonSchema.Converters
NJsonSchema.Generation
NJsonSchema.Infrastructure
NJsonSchema.Validation
NJsonSchema.Validation.FormatValidators
NJsonSchema.Visitors
-
public abstract class AsyncJsonReferenceVisitorBase
- public virtual Task VisitAsync(object obj, CancellationToken cancellationToken)
- protected virtual Task VisitAsync(object obj, string path, string typeNameHint, ISet<object> checkedObjects, Action<object> replacer, CancellationToken cancellationToken)
- protected abstract Task<IJsonReference> VisitJsonReferenceAsync(IJsonReference reference, string path, string typeNameHint, CancellationToken cancellationToken)
- protected virtual Task VisitAsync(object obj, string path, string typeNameHint, ISet<object> checkedObjects, Action<object> replacer)
- protected abstract Task<IJsonReference> VisitJsonReferenceAsync(IJsonReference reference, string path, string typeNameHint)
-
public abstract class AsyncJsonSchemaVisitorBase : AsyncJsonReferenceVisitorBase