AnswerFileOptionsFromJson Method

Creates an instance of the AnswerFileOptions class based on the specified JSON value.

Definition

Namespace: Ookii.AnswerFile
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.1.0+446b05628b4ec6933ca1b84b1f778ac43fb60ce9
C#
public static AnswerFileOptions? FromJson(
	ReadOnlySpan<char> json
)

Parameters

json  ReadOnlySpanChar
The JSON value.

Return Value

AnswerFileOptions
An instance of the AnswerFileOptions class, or if json is a single value.

Exceptions

JsonExceptionjson is not a valid JSON representation of the AnswerFileOptions class.

See Also