Table of Contents

ResultJsonConverterFactory Class

Definition

Namespace
Tyne
Assembly
Tyne.Core.dll

Supports converting Result<T, TE>s to/from JSON using a factory pattern.

public sealed class ResultJsonConverterFactory : JsonConverterFactory
Inheritance
ResultJsonConverterFactory

Methods

CanConvert(Type)

Determines whether the typeToConvert can be converted to a Result<T, TE>.

CreateConverter(Type, JsonSerializerOptions)

Creates a JsonConverter for the provided typeToConvert.

See Also

Result<T, TE>