Class NewtonsoftLoopTypeConverter
OptimaJet.Workflow.Core.Plugins.LoopsPlugin.Other.NewtonsoftLoopTypeConverter
Namespace: OptimaJet.Workflow.Core.Plugins.LoopsPlugin.Other
public class NewtonsoftLoopTypeConverter : JsonConverterInheritance
- System.Object
- Newtonsoft.Json.JsonConverter
Properties
Methods
public override void WriteJson(JsonWriter writer, object? value, JsonSerializer serializer) #Writes the JSON representation of the object.
Parameters
Name
Type
Description
writerJsonWriterThe JsonWriter to write to.
valueObjectThe value.
serializerJsonSerializerThe 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
readerJsonReaderThe JsonReader to read from.
objectTypeTypeType of the object.
existingValueObjectThe existing value of object being read.
serializerJsonSerializerThe calling serializer.
Returns
Type
Description
ObjectThe object value.
public override bool CanConvert(Type objectType) #Determines whether this instance can convert the specified object type.
Parameters
Name
Type
Description
objectTypeTypeType of the object.
Returns
Type
Description
Booleantrue if this instance can convert the specified object type; otherwise, false.