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
typeTypeThe type for which to resolve a JSON contract.
oJsonSerializerOptions
Returns
- JsonTypeInfo
A JsonTypeInfo defining a reflection-derived JSON contract for
type.
Exceptions
- ArgumentNullException
typeoroptionsis null.