Share via


ChoiceSetConverter.ReadJson Method

Definition

Reads the JSON representation of a ChoiceSet object.

public override Microsoft.Bot.Builder.Dialogs.Adaptive.Input.ChoiceSet ReadJson (Newtonsoft.Json.JsonReader reader, Type objectType, Microsoft.Bot.Builder.Dialogs.Adaptive.Input.ChoiceSet existingValue, bool hasExistingValue, Newtonsoft.Json.JsonSerializer serializer);
override this.ReadJson : Newtonsoft.Json.JsonReader * Type * Microsoft.Bot.Builder.Dialogs.Adaptive.Input.ChoiceSet * bool * Newtonsoft.Json.JsonSerializer -> Microsoft.Bot.Builder.Dialogs.Adaptive.Input.ChoiceSet
Public Overrides Function ReadJson (reader As JsonReader, objectType As Type, existingValue As ChoiceSet, hasExistingValue As Boolean, serializer As JsonSerializer) As ChoiceSet

Parameters

reader
Newtonsoft.Json.JsonReader

The Newtonsoft.Json.JsonReader to read from.

objectType
Type

Type of the object.

existingValue
ChoiceSet

The existing value of ChoiceSet being read. If there is no existing value then null will be used.

hasExistingValue
Boolean

Indicates if existingValue has a value.

serializer
Newtonsoft.Json.JsonSerializer

The calling serializer.

Returns

The interpreted ChoiceSet object.

Applies to