Answer File OptionsFrom Json 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.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
An instance of the AnswerFileOptions class, or if json is a single value.
Assembly: Ookii.AnswerFile (in Ookii.AnswerFile.dll) Version: 2.3.0+3ec3ef5391bcdf8d84abe65b91ab672cac4934d3
C#
public static AnswerFileOptions? FromJson(
ReadOnlySpan<char> json
)VB
Public Shared Function FromJson (
json As ReadOnlySpan(Of Char)
) As AnswerFileOptionsC++
public:
static AnswerFileOptions^ FromJson(
ReadOnlySpan<wchar_t> json
)F#
static member FromJson :
json : ReadOnlySpan<char> -> AnswerFileOptions Parameters
- json ReadOnlySpanChar
- The JSON value.
Return Value
AnswerFileOptionsAn instance of the AnswerFileOptions class, or if json is a single value.
Exceptions
| JsonException | json is not a valid JSON representation of the AnswerFileOptions class. |