Class SystemTextDefaultValueJsonConverter
OptimaJet.Workflow.Core.Designer.SystemTextDefaultValueJsonConverter
Provides a JsonConverter<T> that converts CodeActionParameterDefinition.DefaultValue between its string representation and JSON values.
Namespace: OptimaJet.Workflow.Core.Designer
public class SystemTextDefaultValueJsonConverter : JsonConverter<string?>Type Hierarchy
- JsonConverter
- JsonConverter<string>
- SystemTextDefaultValueJsonConverter Current type
- JsonConverter<string>
Methods
public override string? Read(ref Utf8JsonReader reader, Type typeToConvert, JsonSerializerOptions options) #Reads a JSON value into the string representation used by CodeActionParameterDefinition.DefaultValue.
Parameters
Name
Type
Description
Returns
Type
Description
StringThe JSON string value, the raw JSON text for a non-string value, or null when the current token is JsonTokenType.Null.
public override void Write(Utf8JsonWriter writer, string? value, JsonSerializerOptions options) #Writes the JSON representation of CodeActionParameterDefinition.DefaultValue.
Parameters
Name
Type
Description