Table of Contents

Class TextToSpeechVoiceNameStringConverter

Converter to convert TextToSpeechVoiceName to a string and vice-versa.

public class TextToSpeechVoiceNameStringConverter : JsonConverter<TextToSpeechVoiceName>
Inheritance
object
TextToSpeechVoiceNameStringConverter

Methods

ReadJson(JsonReader, Type, TextToSpeechVoiceName, bool, JsonSerializer)

public override TextToSpeechVoiceName ReadJson(JsonReader reader, Type objectType, TextToSpeechVoiceName existingValue, bool hasExistingValue, JsonSerializer serializer)

Parameters

reader JsonReader
objectType Type
existingValue TextToSpeechVoiceName
hasExistingValue bool
serializer JsonSerializer

Returns

TextToSpeechVoiceName

WriteJson(JsonWriter, TextToSpeechVoiceName, JsonSerializer)

public override void WriteJson(JsonWriter writer, TextToSpeechVoiceName value, JsonSerializer serializer)

Parameters

writer JsonWriter
value TextToSpeechVoiceName
serializer JsonSerializer