API Browser

Method

Read

virtual override func Read(ref reader: Utf8JsonReader, typeToConvert: Type, options: JsonSerializerOptions) -> Result<T, E>

Declaring type: ResultJsonConverter<T, E>
Namespace: System
Assembly: Raven.Core.dll
Source file: Result.rvn

Overrides JsonConverter<Result<T, E>>.Read

Reads a tagged JSON object as an Ok or Failure result.

Parameters

Name Type Description
reader ref Utf8JsonReader
typeToConvert Type
options JsonSerializerOptions

Return value

Result<T, E>