Show / Hide Table of Contents

Class OracleHexStringConverter

Converts Oracle string fields (Provider, AssetClass, URI) to/from hexadecimal ASCII representation.

Inheritance
object
JsonConverter
JsonConverter<string>
OracleHexStringConverter
Namespace: Xrpl.Client.Json.Converters
Assembly: Xrpl.dll
Syntax
public sealed class OracleHexStringConverter : JsonConverter<string>

Methods

| Edit this page View Source

Read(ref Utf8JsonReader, Type, JsonSerializerOptions)

Reads an Oracle hex string from JSON, decoding from hex if necessary.

Declaration
public override string Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonReader reader
Type typeToConvert
JsonSerializerOptions options
Returns
Type Description
string
Overrides
System.Text.Json.Serialization.JsonConverter<string>.Read(ref System.Text.Json.Utf8JsonReader, System.Type, System.Text.Json.JsonSerializerOptions)
| Edit this page View Source

Write(Utf8JsonWriter, string, JsonSerializerOptions)

Writes an Oracle string to JSON as hexadecimal ASCII.

Declaration
public override void Write(Utf8JsonWriter writer, string value, JsonSerializerOptions options)
Parameters
Type Name Description
Utf8JsonWriter writer
string value
JsonSerializerOptions options
Overrides
System.Text.Json.Serialization.JsonConverter<string>.Write(System.Text.Json.Utf8JsonWriter, string, System.Text.Json.JsonSerializerOptions)
  • Edit this page
  • View Source
In this article
Back to top Generated by DocFX