Namespace: Json.Schema.OpenApi
Inheritance: ExternalDocsKeywordJsonConverter
🡒 WeaklyTypedJsonConverter<ExternalDocsKeyword>
🡒 JsonConverter<ExternalDocsKeyword>
🡒 JsonConverter
🡒 object
Implemented interfaces:
- IWeaklyTypedJsonConverter
JSON converter for Json.Schema.OpenApi.ExternalDocsKeyword.
Properties
Name | Type | Summary |
---|---|---|
HandleNull | bool | Â |
Type | Type | Â |
Methods
Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Reads and converts the JSON to type Json.Schema.OpenApi.ExternalDocsKeyword.
Declaration
1
public override ExternalDocsKeyword Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options)
Parameter | Type | Description |
---|---|---|
reader | ref Utf8JsonReader | The reader. |
typeToConvert | Type | The type to convert. |
options | JsonSerializerOptions | An object that specifies serialization options to use. |
Returns
The converted value.
Write(Utf8JsonWriter writer, ExternalDocsKeyword value, JsonSerializerOptions options)
Writes a specified value as JSON.
Declaration
1
public override void Write(Utf8JsonWriter writer, ExternalDocsKeyword value, JsonSerializerOptions options)
Parameter | Type | Description |
---|---|---|
writer | Utf8JsonWriter | The writer to write to. |
value | ExternalDocsKeyword | The value to convert to JSON. |
options | JsonSerializerOptions | An object that specifies serialization options to use. |