Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class NewtonsoftLoopTypeConverter

OptimaJet.Workflow.Core.Plugins.LoopsPlugin.Other.NewtonsoftLoopTypeConverter

public class NewtonsoftLoopTypeConverter : JsonConverter

Inheritance

  • System.Object
  • Newtonsoft.Json.JsonConverter

Properties

Name
Type
CanWrite #
Boolean
Gets a value indicating whether this JsonConverter can write JSON.

Methods

public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) #
Writes the JSON representation of the object.

Parameters

Name
Type
Description
writer
JsonWriter
The JsonWriter to write to.
value
Object
The value.
serializer
JsonSerializer
The calling serializer.
public override object? ReadJson(JsonReader reader, Type objectType, object? existingValue, JsonSerializer serializer) #
Reads the JSON representation of the object.

Parameters

Name
Type
Description
reader
JsonReader
The JsonReader to read from.
objectType
Type
Type of the object.
existingValue
Object
The existing value of object being read.
serializer
JsonSerializer
The calling serializer.

Returns

Type
Description
Object
The object value.
public override bool CanConvert(Type objectType) #
Determines whether this instance can convert the specified object type.

Parameters

Name
Type
Description
objectType
Type
Type of the object.

Returns

Type
Description
Boolean
true if this instance can convert the specified object type; otherwise, false.