Search Results for

    Show / Hide Table of Contents
    View Source

    Class DeliveryApiJsonTypeResolver

    Inheritance
    System.Object
    System.Text.Json.Serialization.Metadata.DefaultJsonTypeInfoResolver
    Namespace: Umbraco.Cms.Api.Delivery.Json
    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
    Type Description
    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
    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • ConfigureJsonPolymorphismOptions(JsonTypeInfo, Type[])
      • GetDerivedTypes(JsonTypeInfo)
      • GetTypeInfo(Type, JsonSerializerOptions)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX