Table of Contents

Class AccountSignatureConverter

Namespace
Aptos
Assembly
Aptos.dll
public class AccountSignatureConverter : JsonConverter<AccountSignature>
Inheritance
JsonConverter
JsonConverter<AccountSignature>
AccountSignatureConverter
Inherited Members
JsonConverter.CanRead
JsonConverter.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 JsonReader

The Newtonsoft.Json.JsonReader to read from.

objectType Type

Type of the object.

existingValue AccountSignature

The existing value of object being read. If there is no existing value then null will be used.

hasExistingValue bool

The existing value has a value.

serializer JsonSerializer

The 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 JsonWriter

The Newtonsoft.Json.JsonWriter to write to.

value AccountSignature

The value.

serializer JsonSerializer

The calling serializer.