Class AccountSignatureConverter
- Namespace
- Aptos
- Assembly
- Aptos.dll
public class AccountSignatureConverter : JsonConverter<AccountSignature>
- Inheritance
-
JsonConverterJsonConverter<AccountSignature>AccountSignatureConverter
- Inherited Members
-
JsonConverter.CanReadJsonConverter.CanWrite
Methods
ReadJson(JsonReader, Type, AccountSignature?, bool, JsonSerializer)
Reads the JSON representation of the object.
public override AccountSignature? ReadJson(JsonReader reader, Type objectType, AccountSignature? existingValue, bool hasExistingValue, JsonSerializer serializer)
Parameters
reader
JsonReaderThe Newtonsoft.Json.JsonReader to read from.
objectType
TypeType of the object.
existingValue
AccountSignatureThe 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
- AccountSignature
The object value.
WriteJson(JsonWriter, AccountSignature?, JsonSerializer)
Writes the JSON representation of the object.
public override void WriteJson(JsonWriter writer, AccountSignature? value, JsonSerializer serializer)
Parameters
writer
JsonWriterThe Newtonsoft.Json.JsonWriter to write to.
value
AccountSignatureThe value.
serializer
JsonSerializerThe calling serializer.