InterfaceConverter<T> Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts an object to and from JSON.
public class InterfaceConverter<T> : Newtonsoft.Json.JsonConverter, Microsoft.Bot.Builder.Dialogs.Declarative.Observers.IObservableConverter, Microsoft.Bot.Builder.Dialogs.Declarative.Observers.IObservableJsonConverter where T : class
type InterfaceConverter<'T (requires 'T : null)> = class
inherit JsonConverter
interface IObservableConverter
interface IObservableJsonConverter
Public Class InterfaceConverter(Of T)
Inherits JsonConverter
Implements IObservableConverter, IObservableJsonConverter
Type Parameters
- T
The object type.
- Inheritance
-
Newtonsoft.Json.JsonConverterInterfaceConverter<T>
- Implements
Constructors
InterfaceConverter<T>(ResourceExplorer, SourceContext) |
Initializes a new instance of the InterfaceConverter<T> class. |
Properties
CanRead |
Gets a value indicating whether this InterfaceConverter<T> can read JSON. |
Methods
CanConvert(Type) |
Determines whether this instance can convert the specified object type. |
ReadJson(JsonReader, Type, Object, JsonSerializer) |
Reads the JSON representation of the object. |
RegisterObserver(IConverterObserver) |
Obsolete.
Registers a IConverterObserver to receive notifications on converter events. |
RegisterObserver(IJsonLoadObserver) |
Registers a IJsonLoadObserver to receive notifications on converter events. |
ResolveUnknownObject(JToken) |
Performs an action on an unknown object. |
WriteJson(JsonWriter, Object, JsonSerializer) |
Writes the JSON representation of the object. |