Table of Contents

Class CustomJsonTypeInfoResolver

Namespace
Dynamicweb.CoreUI.Data.CommandLog
Assembly
Dynamicweb.CoreUI.dll
public class CustomJsonTypeInfoResolver : DefaultJsonTypeInfoResolver, IJsonTypeInfoResolver
Inheritance
CustomJsonTypeInfoResolver
Implements
Inherited Members

Methods

GetTypeInfo(Type, JsonSerializerOptions)

Resolves a JSON contract for a given type and options configuration.

public override JsonTypeInfo GetTypeInfo(Type type, JsonSerializerOptions o)

Parameters

type Type

The type for which to resolve a JSON contract.

o JsonSerializerOptions

Returns

JsonTypeInfo

A JsonTypeInfo defining a reflection-derived JSON contract for type.

Exceptions

ArgumentNullException

type or options is null.

To top