Class DynamoAttributeValueConverter
The Dynamo
Inheritance
System.Object
System.Text.Json.Serialization.JsonConverter
System.Text.Json.Serialization.JsonConverter <Amazon.DynamoDBv2.Model.AttributeValue >
DynamoAttributeValueConverter
Namespace: LambdaSharp.DynamoDB.Serialization.Utility
Assembly: LambdaSharp.DynamoDB.Serialization.dll
Syntax
public class DynamoAttributeValueConverter : JsonConverter<AttributeValue>
Methods
Read(ref Utf8JsonReader, Type, JsonSerializerOptions)
This operation is NOT supported.
Declaration
public override AttributeValue Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
System. |
reader | The reader. |
System. |
typeToConvert | The type to convert. |
System. |
options | An object that specifies serialization options to use. |
Returns
Type | Description |
---|---|
Amazon. |
The converted value. |
Overrides
System.Text.Json.Serialization.JsonConverter<Amazon.DynamoDBv2.Model.AttributeValue>.Read(System.Text.Json.Utf8JsonReader, System.Type, System.Text.Json.JsonSerializerOptions)
Write(Utf8JsonWriter, AttributeValue, JsonSerializerOptions)
Writes a specified value as JSON.
Declaration
public override void Write(Utf8JsonWriter writer, AttributeValue value, JsonSerializerOptions options)
Parameters
Type | Name | Description |
---|---|---|
System. |
writer | The writer to write to. |
Amazon. |
value | The value to convert to JSON. |
System. |
options | An object that specifies serialization options to use. |
Overrides
System.Text.Json.Serialization.JsonConverter<Amazon.DynamoDBv2.Model.AttributeValue>.Write(System.Text.Json.Utf8JsonWriter, Amazon.DynamoDBv2.Model.AttributeValue, System.Text.Json.JsonSerializerOptions)