Show / Hide Table of Contents

Class TypeJsonConverter

Class TypeJsonConverter is used internally by Type. For technical reasons, this class must be publicly exposed. It is not meant to be used by users of Jtd.Jtd, and may change without notice.

Inheritance
System.Object
System.Text.Json.Serialization.JsonConverter
System.Text.Json.Serialization.JsonConverterFactory
TypeJsonConverter
Namespace: Jtd.Jtd
Assembly: Jtd.Jtd.dll
Syntax
public class TypeJsonConverter : JsonConverterFactory

Constructors

| Improve this Doc View Source

TypeJsonConverter()

Declaration
public TypeJsonConverter()

Methods

| Improve this Doc View Source

CanConvert(Type)

Declaration
public override bool CanConvert(Type typeToConvert)
Parameters
Type Name Description
System.Type typeToConvert
Returns
Type Description
System.Boolean
| Improve this Doc View Source

CreateConverter(Type, JsonSerializerOptions)

Declaration
public override JsonConverter CreateConverter(Type typeToConvert, JsonSerializerOptions options)
Parameters
Type Name Description
System.Type typeToConvert
System.Text.Json.JsonSerializerOptions options
Returns
Type Description
System.Text.Json.Serialization.JsonConverter
  • Improve this Doc
  • View Source
Back to top Generated by DocFX