Class BalanceResultConverter
Inheritance
System.Object
BalanceResultConverter
Assembly: Casper.Network.SDK.dll
Syntax
public class BalanceResultConverter : JsonConverter<GetBalanceResult>
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
Declaration
public override GetBalanceResult Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type |
Name |
Description |
Utf8JsonReader |
reader |
|
Type |
typeToConvert |
|
JsonSerializerOptions |
options |
|
Returns
Write(Utf8JsonWriter, GetBalanceResult, JsonSerializerOptions)
Declaration
public override void Write(Utf8JsonWriter writer, GetBalanceResult ttlInMillis, JsonSerializerOptions options)
Parameters
Type |
Name |
Description |
Utf8JsonWriter |
writer |
|
GetBalanceResult |
ttlInMillis |
|
JsonSerializerOptions |
options |
|