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
readerJsonReaderThe Newtonsoft.Json.JsonReader to read from.
objectTypeTypeType of the object.
existingValueAccountSignatureThe existing value of object being read. If there is no existing value then
nullwill be used.hasExistingValueboolThe existing value has a value.
serializerJsonSerializerThe 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
writerJsonWriterThe Newtonsoft.Json.JsonWriter to write to.
valueAccountSignatureThe value.
serializerJsonSerializerThe calling serializer.