Home DependenciesKeywordJsonConverter Class
DependenciesKeywordJsonConverter Class
Cancel

DependenciesKeywordJsonConverter Class

Namespace: Json.Schema

Inheritance: DependenciesKeywordJsonConverter 🡒 WeaklyTypedJsonConverter<DependenciesKeyword> 🡒 JsonConverter<DependenciesKeyword> 🡒 JsonConverter 🡒 object

Implemented interfaces:

  • IWeaklyTypedJsonConverter

JSON converter for Json.Schema.DependenciesKeyword.

Properties

NameTypeSummary
HandleNullbool 
TypeType 

Methods

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

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

Declaration

1
public override DependenciesKeyword 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, DependenciesKeyword value, JsonSerializerOptions options)

Writes a specified value as JSON.

Declaration

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