View Source
Class UmbracoJsonTypeInfoResolver
Inheritance
System.Object
System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver
Assembly: Umbraco.Cms.Api.Common.dll
Syntax
public sealed class UmbracoJsonTypeInfoResolver : DefaultJsonTypeInfoResolver, IUmbracoJsonTypeInfoResolver, IJsonTypeInfoResolver
Constructors
View Source
UmbracoJsonTypeInfoResolver(ITypeFinder)
Declaration
public UmbracoJsonTypeInfoResolver(ITypeFinder typeFinder)
Parameters
Methods
View Source
FindSubTypes(Type)
Declaration
public IEnumerable<Type> FindSubTypes(Type type)
Parameters
Type |
Name |
Description |
Type |
type |
|
Returns
Type |
Description |
IEnumerable<Type> |
|
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 |
|