Class ReturnedTransactionConverter
Inherited Members
Namespace: Algorand.Utils
Assembly: Algorand.dll
Syntax
public class ReturnedTransactionConverter : JsonConverter
Properties
| Edit this page View SourceCanRead
Gets a value indicating whether this Newtonsoft.Json.JsonConverter can read JSON.
Declaration
public override bool CanRead { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Overrides
Newtonsoft.Json.JsonConverter.CanRead
|
Edit this page
View Source
CanWrite
Gets a value indicating whether this Newtonsoft.Json.JsonConverter can write JSON.
Declaration
public override bool CanWrite { get; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Overrides
Newtonsoft.Json.JsonConverter.CanWrite
Methods
| Edit this page View SourceCanConvert(Type)
Determines if this converter is designed to deserialization to objects of the specified type.
Declaration
public override bool CanConvert(Type objectType)
Parameters
| Type | Name | Description |
|---|---|---|
| Type | objectType | The target type for deserialization. |
Returns
| Type | Description |
|---|---|
| bool | True if the type is supported. |
Overrides
| Edit this page View SourceReadJson(JsonReader, Type, object, JsonSerializer)
Parses the json to the specified type.
Declaration
public override object ReadJson(JsonReader reader, Type objectType, object existingValue, JsonSerializer serializer)
Parameters
| Type | Name | Description |
|---|---|---|
| JsonReader | reader | Newtonsoft.Json.JsonReader |
| Type | objectType | Target type. |
| object | existingValue | Ignored |
| JsonSerializer | serializer | Newtonsoft.Json.JsonSerializer to use. |
Returns
| Type | Description |
|---|---|
| object | Deserialized Object |
Overrides
| Edit this page View SourceWriteJson(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 |
|---|---|---|
| JsonWriter | writer | The Newtonsoft.Json.JsonWriter to write to. |
| object | value | The value. |
| JsonSerializer | serializer | The calling serializer. |