Casper.Network.SDK
Show / Hide Table of Contents

Class GetDeployResult.GetDeployResultConverter

Inheritance
object
JsonConverter
JsonConverter<GetDeployResult>
GetDeployResult.GetDeployResultConverter
Inherited Members
JsonConverter<GetDeployResult>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
JsonConverter<GetDeployResult>.WriteAsPropertyName(Utf8JsonWriter, GetDeployResult, JsonSerializerOptions)
JsonConverter<GetDeployResult>.HandleNull
JsonConverter<GetDeployResult>.Type
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Casper.Network.SDK.JsonRpc.ResultTypes
Assembly: Casper.Network.SDK.dll
Syntax
public class GetDeployResult.GetDeployResultConverter : JsonConverter<GetDeployResult>

Methods

| Edit this page View Source

CanConvert(Type)

Determines whether the specified type can be converted.

Declaration
public override bool CanConvert(Type typeToConvert)
Parameters
Type Name Description
Type typeToConvert

The type to compare against.

Returns
Type Description
bool

true if the type can be converted; otherwise, false.

Overrides
JsonConverter<GetDeployResult>.CanConvert(Type)
| Edit this page View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type GetDeployResult.

Declaration
public override GetDeployResult Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader

The reader.

Type typeToConvert

The type to convert.

JsonSerializerOptions options

An object that specifies serialization options to use.

Returns
Type Description
GetDeployResult

The converted value.

Overrides
JsonConverter<GetDeployResult>.Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
| Edit this page View Source

Write(Utf8JsonWriter, GetDeployResult, JsonSerializerOptions)

Writes a specified value as JSON.

Declaration
public override void Write(Utf8JsonWriter writer, GetDeployResult block, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonWriter writer

The writer to write to.

GetDeployResult block
JsonSerializerOptions options

An object that specifies serialization options to use.

Overrides
JsonConverter<GetDeployResult>.Write(Utf8JsonWriter, GetDeployResult, JsonSerializerOptions)
  • Edit this page
  • View Source
In this article
Back to top Maintained by MAKE Technology LLC