Show / Hide Table of Contents

Class IdentifierPlusStringDictionaryConverter

Provides support for converting a dictionary containing Identifier -> string to and from JSON.

Inheritance
Object
Newtonsoft.Json.JsonConverter
IdentifierPlusStringDictionaryConverter
Inherited Members
Newtonsoft.Json.JsonConverter.CanRead
Newtonsoft.Json.JsonConverter.CanWrite
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: Algenta.Colectica.Model.Ddi.Utility
Assembly: Algenta.Colectica.Model.Ddi.dll
Syntax
public class IdentifierPlusStringDictionaryConverter : JsonConverter

Methods

CanConvert(Type)

Determines whether this instance can convert the specified object type.

Declaration
public override bool CanConvert(Type objectType)
Parameters
Type Name Description
Type objectType

Type of the object.

Returns
Type Description
Boolean

true if this instance can convert the specified object type; otherwise, false.

Overrides
Newtonsoft.Json.JsonConverter.CanConvert(System.Type)
Exceptions
Type Condition
NotImplementedException

ReadJson(JsonReader, Type, Object, JsonSerializer)

Reads the JSON representation of the object.

Declaration
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
Type Name Description
Newtonsoft.Json.JsonReader reader

The Newtonsoft.Json.JsonReader to read from.

Type objectType

Type of the object.

Object existingValue

The existing value of object being read.

Newtonsoft.Json.JsonSerializer serializer

The calling serializer.

Returns
Type Description
Object

The object value.

Overrides
Newtonsoft.Json.JsonConverter.ReadJson(Newtonsoft.Json.JsonReader, System.Type, System.Object, Newtonsoft.Json.JsonSerializer)
Exceptions
Type Condition
NotImplementedException

WriteJson(JsonWriter, Object, JsonSerializer)

Writes the JSON representation of the object.

Declaration
public override void WriteJson(JsonWriter writer, object value, JsonSerializer serializer)
Parameters
Type Name Description
Newtonsoft.Json.JsonWriter writer

The Newtonsoft.Json.JsonWriter to write to.

Object value

The value.

Newtonsoft.Json.JsonSerializer serializer

The calling serializer.

Overrides
Newtonsoft.Json.JsonConverter.WriteJson(Newtonsoft.Json.JsonWriter, System.Object, Newtonsoft.Json.JsonSerializer)
In This Article
Back to top Generated by DocFX