Home Pre202012EvaluationResultsJsonConverter Class
Pre202012EvaluationResultsJsonConverter Class
Cancel

Pre202012EvaluationResultsJsonConverter Class

Namespace: Json.Schema

Inheritance: Pre202012EvaluationResultsJsonConverter 🡒 WeaklyTypedJsonConverter<EvaluationResults> 🡒 JsonConverter<EvaluationResults> 🡒 JsonConverter 🡒 object

Implemented interfaces:

  • IWeaklyTypedJsonConverter

Produces output formats specified by 2019-09 and 2020-12.

Properties

NameTypeSummary
HandleNullbool 
TypeType 

Methods

Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)

Reads and converts the JSON to type Json.Schema.EvaluationResults.

Declaration

1
public override EvaluationResults Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
ParameterTypeDescription
readerref Utf8JsonReaderThe reader.
typeToConvertTypeThe type to convert.
optionsJsonSerializerOptionsAn object that specifies serialization options to use.

Returns

The converted value.

Write(Utf8JsonWriter writer, EvaluationResults value, JsonSerializerOptions options)

Writes a specified value as JSON.

Declaration

1
public override void Write(Utf8JsonWriter writer, EvaluationResults value, JsonSerializerOptions options)
ParameterTypeDescription
writerUtf8JsonWriterThe writer to write to.
valueEvaluationResultsThe value to convert to JSON.
optionsJsonSerializerOptionsAn object that specifies serialization options to use.
Contents