StringDeserializerBuilderCase class

A deserializer builder case that matches StringSchema and attempts to map it to any provided type.
AssemblyChr.Avro.Binary
NamespaceChr.Avro.Serialization
Signature
public class StringDeserializerBuilderCase : Chr.Avro.Serialization.BinaryDeserializerBuilderCase
BaseBinaryDeserializerBuilderCase

Constructors

StringDeserializerBuilderCase(IBinaryCodec)
Creates a new string deserializer builder case.

Properties

IBinaryCodec Codec
The codec that generated deserializers should use for read operations.

Methods

IBinaryDeserializerBuildResult BuildExpression(TypeResolution, Schema, IBinaryDeserializerBuilderContext)
Builds a string deserializer for a type-schema pair.
Expression GenerateConversion(Expression, Type)
Generates a conversion from the source type to the intermediate type. This override will convert a string value to DateTime, DateTimeOffset, Guid, TimeSpan, or Uri prior to applying the base implementation.
Chr.Avro