JacksonDataConverter Class
- java.
lang. Object - com.
microsoft. durabletask. JacksonDataConverter
- com.
Implements
public final class JacksonDataConverter
implements DataConverter
An implementation of DataConverter that uses Jackson APIs for data serialization.
Constructor Summary
| Constructor | Description | |
|---|---|---|
| JacksonDataConverter() | ||
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| T |
deserialize(String jsonText, Class<T> targetType)
Deserializes the given text data into an object of the specified type. |
| java.lang.String |
serialize(Object value)
Serializes the input into a text representation. |
Methods inherited from java.lang.Object
Constructor Details
JacksonDataConverter
public JacksonDataConverter()
Method Details
deserialize
public T
Deserializes the given text data into an object of the specified type.
Parameters:
serialize
public String serialize(Object value)
Serializes the input into a text representation.
Parameters: