Class TransactionSignatureConverter
- Namespace
- Aptos
- Assembly
- Aptos.dll
public class TransactionSignatureConverter : JsonConverter<TransactionSignature>
- Inheritance
-
JsonConverterJsonConverter<TransactionSignature>TransactionSignatureConverter
- Inherited Members
-
JsonConverter.CanRead
Properties
CanWrite
Gets a value indicating whether this Newtonsoft.Json.JsonConverter can write JSON.
public override bool CanWrite { get; }
Property Value
- bool
true
if this Newtonsoft.Json.JsonConverter can write JSON; otherwise,false
.
Methods
ReadJson(JsonReader, Type, TransactionSignature?, bool, JsonSerializer)
Reads the JSON representation of the object.
public override TransactionSignature? ReadJson(JsonReader reader, Type objectType, TransactionSignature? existingValue, bool hasExistingValue, JsonSerializer serializer)
Parameters
reader
JsonReaderThe Newtonsoft.Json.JsonReader to read from.
objectType
TypeType of the object.
existingValue
TransactionSignatureThe existing value of object being read. If there is no existing value then
null
will be used.hasExistingValue
boolThe existing value has a value.
serializer
JsonSerializerThe calling serializer.
Returns
- TransactionSignature
The object value.
WriteJson(JsonWriter, TransactionSignature?, JsonSerializer)
Writes the JSON representation of the object.
public override void WriteJson(JsonWriter writer, TransactionSignature? value, JsonSerializer serializer)
Parameters
writer
JsonWriterThe Newtonsoft.Json.JsonWriter to write to.
value
TransactionSignatureThe value.
serializer
JsonSerializerThe calling serializer.