Class NewtonsoftDynamicParameterConverter
OptimaJet.Workflow.Core.Model.NewtonsoftDynamicParameterConverter
Converts an object to and from JSON.
Namespace: OptimaJet.Workflow.Core.Model
public class NewtonsoftDynamicParameterConverter : JsonConverterInheritance
- 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
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.