API Reference
Class
IdnStringConverter
Handles IDN encoding and decoding when serializing strings.
Inheritance
- Object
- IdnStringConverter
Constructors
IdnStringConverter(System.Boolean unicode) #Initializes a new instance indicating whether unicode output is desired.
Parameters
- unicode System.Boolean
- True to convert to Unicode when writing.
Methods
Read(System.Text.Json.Utf8JsonReader@ reader, System.Type typeToConvert, System.Text.Json.JsonSerializerOptions options) #Parameters
- reader System.Text.Json.Utf8JsonReader@
- typeToConvert System.Type
- options System.Text.Json.JsonSerializerOptions
Write(System.Text.Json.Utf8JsonWriter writer, System.String value, System.Text.Json.JsonSerializerOptions options) #Parameters
- writer System.Text.Json.Utf8JsonWriter
- value System.String
- options System.Text.Json.JsonSerializerOptions