Sisk

Constructor

JsonContentTypeHandler constructor

Namespace
Sisk.Documenting.Content
Assembly
Sisk.Documenting.dll

JsonContentTypeHandler(IJsonTypeInfoResolver, JsonSerializerOptions) #

Initializes a new instance of the JsonContentTypeHandler class with the specified type resolver and serializer options.

C#
public JsonContentTypeHandler(IJsonTypeInfoResolver typeResolver, JsonSerializerOptions serializerOptions)

Parameters #

typeResolver IJsonTypeInfoResolver

The JSON type info resolver.

serializerOptions JsonSerializerOptions

The JSON serializer options.

JsonContentTypeHandler(JsonSerializerOptions) #

Initializes a new instance of the JsonContentTypeHandler class with the specified serializer options and a default type resolver.

C#
[RequiresDynamicCode("This method calls the JsonSerializerOptions.Default, which requires dynamic code.")]
[RequiresUnreferencedCode("This method calls the JsonSerializerOptions.Default, which requires unreferenced code.")]
public JsonContentTypeHandler(JsonSerializerOptions serializerOptions)

Parameters #

serializerOptions JsonSerializerOptions

The JSON serializer options.

JsonContentTypeHandler() #

Initializes a new instance of the JsonContentTypeHandler class with default serializer options and type resolver.

C#
[RequiresDynamicCode("This method calls the JsonSerializerOptions.Default, which requires dynamic code.")]
[RequiresUnreferencedCode("This method calls the JsonSerializerOptions.Default, which requires unreferenced code.")]
public JsonContentTypeHandler()

Type to search the documentation and the API reference.