View Source
Class DeliveryApiJsonTypeResolver
Inheritance
System.Object
System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver
Assembly: Umbraco.Cms.Api.Delivery.dll
Syntax
public class DeliveryApiJsonTypeResolver : DefaultJsonTypeInfoResolver, IJsonTypeInfoResolver
Methods
View Source
ConfigureJsonPolymorphismOptions(JsonTypeInfo, Type[])
Declaration
protected void ConfigureJsonPolymorphismOptions(JsonTypeInfo jsonTypeInfo, params Type[] derivedTypes)
Parameters
Type |
Name |
Description |
System.Text.Json.Serialization.Metadata.JsonTypeInfo |
jsonTypeInfo |
|
Type[] |
derivedTypes |
|
View Source
GetDerivedTypes(JsonTypeInfo)
Declaration
protected virtual Type[] GetDerivedTypes(JsonTypeInfo jsonTypeInfo)
Parameters
Type |
Name |
Description |
System.Text.Json.Serialization.Metadata.JsonTypeInfo |
jsonTypeInfo |
|
Returns
View Source
GetTypeInfo(Type, JsonSerializerOptions)
Declaration
public override JsonTypeInfo GetTypeInfo(Type type, JsonSerializerOptions options)
Parameters
Type |
Name |
Description |
Type |
type |
|
System.Text.Json.JsonSerializerOptions |
options |
|
Returns
Type |
Description |
System.Text.Json.Serialization.Metadata.JsonTypeInfo |
|