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