public class JsonValueSerializer extends SpinValueSerializer
dataFormat, name
serializationDataFormat
BINARY_VALUE_TYPES, valueType
Constructor and Description |
---|
JsonValueSerializer() |
JsonValueSerializer(org.camunda.spin.spi.DataFormat<org.camunda.spin.json.SpinJsonNode> dataFormat) |
Modifier and Type | Method and Description |
---|---|
SpinValue |
convertToTypedValue(UntypedValueImpl untypedValue)
Returns a typed value for the provided untyped value.
|
protected SpinValue |
createDeserializedValue(Object deserializedObject,
String serializedStringValue,
ValueFields valueFields,
boolean asTransientValue) |
protected SpinValue |
createSerializedValue(String serializedStringValue,
ValueFields valueFields,
boolean asTransientValue) |
canSerializeValue, deserializeFromByteArray, getName, isSerializationTextBased, serializeToByteArray, updateTypedValue, writeToValueFields
canWriteValue, getSerializationDataformat, getSerializedBytesValue, getSerializedStringValue, readSerializedValueFromFields, readValue, writeValue
canHandle, getType, isMutableValue
public JsonValueSerializer(org.camunda.spin.spi.DataFormat<org.camunda.spin.json.SpinJsonNode> dataFormat)
public JsonValueSerializer()
public SpinValue convertToTypedValue(UntypedValueImpl untypedValue)
TypedValueSerializer
TypedValueSerializer
(by invocation of TypedValueSerializer.canHandle(TypedValue)
).untypedValue
- the untyped valueprotected SpinValue createDeserializedValue(Object deserializedObject, String serializedStringValue, ValueFields valueFields, boolean asTransientValue)
createDeserializedValue
in class AbstractSerializableValueSerializer<SpinValue>
protected SpinValue createSerializedValue(String serializedStringValue, ValueFields valueFields, boolean asTransientValue)
createSerializedValue
in class AbstractSerializableValueSerializer<SpinValue>
Copyright © 2021. All rights reserved.