Workflow Engine .NET

Assembly: OptimaJet.Workflow.Core

Class NewtonsoftStringTypeConverter

OptimaJet.Workflow.Core.Designer.NewtonsoftStringTypeConverter

public class NewtonsoftStringTypeConverter : JsonConverter

Inheritance

  • System.Object
  • Newtonsoft.Json.JsonConverter

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.