Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class SystemTextStringTypeConverter

OptimaJet.Workflow.Core.Designer.SystemTextStringTypeConverter

public class SystemTextStringTypeConverter : JsonConverter<Type?>

Inheritance

  • System.Object
  • System.Text.Json.Serialization.JsonConverter
  • System.Text.Json.Serialization.JsonConverter{System.Type}

Methods

public override Type? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) #
Reads and converts the JSON to type Type.

Parameters

Name
Type
Description
reader
Utf8JsonReader
The reader.
typeToConvert
Type
The type to convert.
options
JsonSerializerOptions
An object that specifies serialization options to use.

Returns

Type
Description
Type
The converted value.
public override void Write(Utf8JsonWriter writer, Type? value, JsonSerializerOptions options) #
Writes a specified value as JSON.

Parameters

Name
Type
Description
writer
Utf8JsonWriter
The writer to write to.
value
Type
The value to convert to JSON.
options
JsonSerializerOptions
An object that specifies serialization options to use.