Show / Hide Table of Contents

Interface ISerializer

Interface for the Ion serializer.

Namespace: Amazon.QLDB.Driver
Assembly: Amazon.QLDB.Driver.dll
Syntax
public interface ISerializer

Methods

| Improve this Doc View Source

Deserialize<T>(ValueHolder)

Deserialize a ValueHolder object containing the Ion binary or text value into an object of type T.

Declaration
T Deserialize<T>(ValueHolder s)
Parameters
Type Name Description
Amazon.QLDBSession.Model.ValueHolder s

The ValueHolder object to be deserialized into an object of type T.

Returns
Type Description
T

The object of type T.

Type Parameters
Name Description
T

The return type.

| Improve this Doc View Source

Serialize(Object)

Serialize a C# object into a ValueHolder object containing the Ion binary or text value.

Declaration
ValueHolder Serialize(object o)
Parameters
Type Name Description
System.Object o

The C# object to be serialized into ValueHolder.

Returns
Type Description
Amazon.QLDBSession.Model.ValueHolder

The ValueHolder object containing the Ion binary or text value.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX