Для изменения размера нажмите или перетащите

NameValueCollectionConverter - класс

Конвертер для сериализации типа NameValueCollection.
Иерархия наследования
SystemObject
  JsonConverter
    PZone.Json.ConvertersNameValueCollectionConverter

Пространство имён:  PZone.Json.Converters
Сборка:  PZone.Core (в PZone.Core.dll) Версия: 1.2.1.0 (1.2.1.0)
Синтаксис
C#
public class NameValueCollectionConverter : JsonConverter

Тип NameValueCollectionConverter предоставляет следующие члены.

Конструкторы
  ИмяОписание
Открытый методNameValueCollectionConverter
Инициализирует новый экземпляр класса NameValueCollectionConverter
В начало страницы
Свойства
  ИмяОписание
Открытое свойствоCanRead
Gets a value indicating whether this JsonConverter can read JSON.
(Переопределяет JsonConverter.CanRead.)
Открытое свойствоCanWrite
Gets a value indicating whether this JsonConverter can write JSON.
(Унаследован от JsonConverter.)
В начало страницы
Методы
  ИмяОписание
Открытый методCanConvert
Determines whether this instance can convert the specified object type.
(Переопределяет JsonConverter.CanConvert(Type).)
Открытый методEquals
Determines whether the specified Object is equal to the current Object.
(Унаследован от Object.)
Защищённый методFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Унаследован от Object.)
Открытый методGetHashCode
Serves as a hash function for a particular type.
(Унаследован от Object.)
Открытый методGetType
Gets the Type of the current instance.
(Унаследован от Object.)
Защищённый методMemberwiseClone
Creates a shallow copy of the current Object.
(Унаследован от Object.)
Открытый методReadJson
Reads the JSON representation of the object.
(Переопределяет JsonConverter.ReadJson(JsonReader, Type, Object, JsonSerializer).)
Открытый методToString
Returns a string that represents the current object.
(Унаследован от Object.)
Открытый методWriteJson
Writes the JSON representation of the object.
(Переопределяет JsonConverter.WriteJson(JsonWriter, Object, JsonSerializer).)
В начало страницы
Заметки
Без исползования конвертера объект типа NameValueCollection сериализуется в виде массива с набором ключей коллекции.
См. также