JsonDurationSerializerBuilderCase class

Implements a JsonSerializerBuilder case that matches DurationLogicalType and attempts to map it to TimeSpan.
AssemblyChr.Avro.Json
NamespaceChr.Avro.Serialization
Signature
public class JsonDurationSerializerBuilderCase : Chr.Avro.Serialization.DurationSerializerBuilderCase, Chr.Avro.Serialization.IJsonSerializerBuilderCase, Chr.Avro.Serialization.ISerializerBuilderCase<Chr.Avro.Serialization.JsonSerializerBuilderContext,Chr.Avro.Serialization.JsonSerializerBuilderCaseResult>
BaseDurationSerializerBuilderCase
InterfacesIJsonSerializerBuilderCase
ISerializerBuilderCase<JsonSerializerBuilderContext, JsonSerializerBuilderCaseResult>

Constructors

JsonDurationSerializerBuilderCase()
null

Methods

JsonSerializerBuilderCaseResult BuildExpression(Expression, Type, Schema, JsonSerializerBuilderContext)
Builds a JsonSerializer<> for a DurationLogicalType.
Chr.Avro