JsonDeserializerBuilderCaseResult class

Represents the outcome of a IDeserializerBuilderCase<,>.
AssemblyChr.Avro.Json
NamespaceChr.Avro.Serialization
Signature
public class JsonDeserializerBuilderCaseResult
Baseobject

Constructors

JsonDeserializerBuilderCaseResult()
Initializes a new instance of the JsonDeserializerBuilderCaseResult class.

Properties

ICollection<Exception> Exceptions
Gets or sets exceptions regarding the inapplicability of the case. If Expression is not null, these exceptions should be interpreted as warnings.
Expression Expression
Gets or sets the expression obtained by applying the case. If null, the case was not applied successfully.

Methods

JsonDeserializerBuilderCaseResult FromException(Exception)
Creates a new JsonDeserializerBuilderCaseResult for an unsuccessful outcome.
JsonDeserializerBuilderCaseResult FromExpression(Expression)
Creates a new JsonDeserializerBuilderCaseResult for an unsuccessful outcome.
Chr.Avro