Class NameValueCollectionConverter
Inheritance
System.Object
NameValueCollectionConverter
Namespace: ArtOfTest.Common.Serialization
Assembly: ArtOfTest.WebAii.dll
Syntax
public class NameValueCollectionConverter : JsonConverter
Constructors
NameValueCollectionConverter()
Declaration
public NameValueCollectionConverter()
Methods
CanConvert(Type)
Declaration
public override bool CanConvert(Type objectType)
Parameters
System.Type
objectType
|
Returns
System.Boolean
|
ReadJson(JsonReader, Type, Object, JsonSerializer)
Declaration
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Newtonsoft.Json.JsonReader
reader
|
System.Type
objectType
|
System.Object
existingValue
|
Newtonsoft.Json.JsonSerializer
serializer
|
Returns
System.Object
|
WriteJson(JsonWriter, Object, JsonSerializer)
Declaration
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
Newtonsoft.Json.JsonWriter
writer
|
System.Object
value
|
Newtonsoft.Json.JsonSerializer
serializer
|