public class AlgorithmEventHistorySerializer
extends java.lang.Object
AlgorithmEventHistorySerializer can be used to read and store AlgorithmEventHistorys in the form of JSON files.| Constructor and Description |
|---|
AlgorithmEventHistorySerializer()
Creates a new
AlgorithmEventHistorySerializer. |
| Modifier and Type | Method and Description |
|---|---|
AlgorithmEventHistory |
deserializeAlgorithmEventHistory(java.lang.String serializedAlgorithmEventHistory)
Deserializes the given JSON
String into an AlgorithmEventHistory assuming it represents such an AlgorithmEventHistory. |
java.lang.String |
serializeAlgorithmEventHistory(AlgorithmEventHistory algorithmEventHistory)
Serializes the given
AlgorithmEventHistory into a JSON String. |
public AlgorithmEventHistorySerializer()
AlgorithmEventHistorySerializer.public java.lang.String serializeAlgorithmEventHistory(AlgorithmEventHistory algorithmEventHistory) throws com.fasterxml.jackson.core.JsonProcessingException
AlgorithmEventHistory into a JSON String.algorithmEventHistory - The AlgorithmEventHistory to be serialized.String representing the serialized AlgorithmEventHistory.com.fasterxml.jackson.core.JsonProcessingException - If something went wrong during the transformation to JSON.public AlgorithmEventHistory deserializeAlgorithmEventHistory(java.lang.String serializedAlgorithmEventHistory) throws com.fasterxml.jackson.core.JsonParseException, com.fasterxml.jackson.databind.JsonMappingException, java.io.IOException
String into an AlgorithmEventHistory assuming it represents such an AlgorithmEventHistory.serializedAlgorithmEventHistory - A JSON String representing an AlgorithmEventHistory.AlgorithmEventHistory constructed from the given serialized algorithm event history.com.fasterxml.jackson.core.JsonParseException - If something went wrong during the transformation to JSON.com.fasterxml.jackson.databind.JsonMappingException - If something went wrong during the transformation to JSON.java.io.IOException - If something went wrong during the transformation to JSON.