Class UlongDictionaryConverterJson<T>
Inheritance
JsonConverter
UlongDictionaryConverterJson<T>
Inherited Members
JsonConverter<IDictionary<ulong, T>>.WriteJson(JsonWriter, IDictionary<ulong, T>, JsonSerializer)
JsonConverter.CanRead
JsonConverter.CanWrite
Namespace: Algorand.Algod.Model.Converters.Json
Assembly: Algorand.dll
Syntax
public class UlongDictionaryConverterJson<T> : JsonConverter<IDictionary<ulong, T>>
Type Parameters
| Name | Description |
|---|---|
| T |
Methods
| Edit this page View SourceReadJson(JsonReader, Type, IDictionary<ulong, T>, bool, JsonSerializer)
Reads the JSON representation of the object.
Declaration
public override IDictionary<ulong, T> ReadJson(JsonReader reader, Type objectType, IDictionary<ulong, T> existingValue, bool hasExistingValue, JsonSerializer serializer)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonReader | reader | The Newtonsoft.Json.JsonReader to read from. |
| Type | objectType | Type of the object. |
| IDictionary<ulong, T> | existingValue | The existing value of object being read. If there is no existing value then |
| bool | hasExistingValue | The existing value has a value. |
| JsonSerializer | serializer | The calling serializer. |
Returns
| Type | Description |
|---|---|
| IDictionary<ulong, T> | The object value. |
Overrides
| Edit this page View SourceWriteJson(JsonWriter, IDictionary<ulong, T>, JsonSerializer)
Writes the JSON representation of the object.
Declaration
public override void WriteJson(JsonWriter writer, IDictionary<ulong, T> value, JsonSerializer serializer)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonWriter | writer | The Newtonsoft.Json.JsonWriter to write to. |
| IDictionary<ulong, T> | value | The value. |
| JsonSerializer | serializer | The calling serializer. |