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) |
protected SpinValue |
createSerializedValue(String serializedStringValue,
ValueFields valueFields) |
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)
createDeserializedValue
in class AbstractSerializableValueSerializer<SpinValue>
protected SpinValue createSerializedValue(String serializedStringValue, ValueFields valueFields)
createSerializedValue
in class AbstractSerializableValueSerializer<SpinValue>
Copyright © 2019. All rights reserved.