JsonSchemaSerialization
The JSON Schema serialization context holding information about the current serialization.
Gets or sets the current schema type.
Gets the current serializer settings.
Gets or sets a value indicating whether the object is currently converted to JSON.
public JsonSchemaSerialization()
public static string FromJson(object obj, IContractResolver contractResolver, Formatting formatting)
Serializes an object to a JSON string.
Deserializes JSON data with the given contract resolver.
public static Task<T> FromJsonAsync<T>(string json, SchemaType schemaType, string documentPath, Func<T, JsonReferenceResolver> referenceResolverFactory, IContractResolver contractResolver)
Deserializes JSON data to a schema with reference handling.
Serializes an object to a JSON string with reference handling.
public static string ToJson(object obj, SchemaType schemaType, IContractResolver contractResolver, Formatting formatting)
Serializes an object to a JSON string with reference handling.