Class AvroDefaultAttribute
- Namespace
- AvroSharp.Serialization
- Assembly
- AvroSharp.dll
The field's default, as Avro JSON ("0", ""none"", "[]"): the value a reader gives the
field when the data was written without it. A nullable member has null without this attribute.
[AttributeUsage(AttributeTargets.Property|AttributeTargets.Field)]
public sealed class AvroDefaultAttribute : Attribute
- Inheritance
-
AvroDefaultAttribute
- Inherited Members
Constructors
- AvroDefaultAttribute(string)
Initializes a new instance of the AvroDefaultAttribute class.
Properties
- Json
Gets the default, as Avro JSON.