Casper.Network.SDK
Show / Hide Table of Contents

Class GetEntityResult.GetEntityResultConverter

Inheritance
object
JsonConverter
JsonConverter<GetEntityResult>
GetEntityResult.GetEntityResultConverter
Inherited Members
JsonConverter<GetEntityResult>.CanConvert(Type)
JsonConverter<GetEntityResult>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
JsonConverter<GetEntityResult>.WriteAsPropertyName(Utf8JsonWriter, GetEntityResult, JsonSerializerOptions)
JsonConverter<GetEntityResult>.HandleNull
JsonConverter<GetEntityResult>.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 GetEntityResult.GetEntityResultConverter : JsonConverter<GetEntityResult>

Methods

| Edit this page View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type GetEntityResult.

Declaration
public override GetEntityResult 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
GetEntityResult

The converted value.

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

Write(Utf8JsonWriter, GetEntityResult, JsonSerializerOptions)

Writes a specified value as JSON.

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

The writer to write to.

GetEntityResult value

The value to convert to JSON.

JsonSerializerOptions options

An object that specifies serialization options to use.

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