PolymorphicJsonCustomConverter<T1,T2> 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.
public class PolymorphicJsonCustomConverter<T1,T2> : Newtonsoft.Json.JsonConverter where T1 : class where T2 : class
type PolymorphicJsonCustomConverter<'T1, 'T2 (requires 'T1 : null and 'T2 : null)> = class
inherit JsonConverter
Public Class PolymorphicJsonCustomConverter(Of T1, T2)
Inherits JsonConverter
Type Parameters
- T1
- T2
- Inheritance
-
Newtonsoft.Json.JsonConverterPolymorphicJsonCustomConverter<T1,T2>
Constructors
PolymorphicJsonCustomConverter<T1,T2>(String, String) |
Initializes a new instance of the PolymorphicJsonCustomConverter<T1,T2> class. |
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. |
WriteJson(JsonWriter, Object, JsonSerializer) |
Writes the JSON representation of the object. |
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.