Show / Hide Table of Contents

Class EncodedParamsConverter

Encoded Params data hex-encoded string JSON Converter.

Inheritance
object
JsonConverter
JsonConverter<EncodedParams>
EncodedParamsConverter
Inherited Members
JsonConverter<EncodedParams>.CanConvert(Type)
JsonConverter<EncodedParams>.ReadAsPropertyName(ref Utf8JsonReader, Type, JsonSerializerOptions)
JsonConverter<EncodedParams>.WriteAsPropertyName(Utf8JsonWriter, EncodedParams, JsonSerializerOptions)
JsonConverter<EncodedParams>.HandleNull
JsonConverter<EncodedParams>.Type
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Hiero.Converters
Assembly: Hiero.dll
Syntax
public sealed class EncodedParamsConverter : JsonConverter<EncodedParams>

Methods

| Edit this page View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads and converts the JSON to type EncodedParams.

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

The converted value.

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

Write(Utf8JsonWriter, EncodedParams, JsonSerializerOptions)

Writes a specified value as JSON.

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

The writer to write to.

EncodedParams encodedParams
JsonSerializerOptions options

An object that specifies serialization options to use.

Overrides
JsonConverter<EncodedParams>.Write(Utf8JsonWriter, EncodedParams, JsonSerializerOptions)
  • Edit this page
  • View Source
In this article
Back to top .NET Client Library for Hiero Network and Hedera Hashgraph