public class LogEventJsonSerializer extends Object implements Serializer<MessageLogEntry>
Constructor and Description |
---|
LogEventJsonSerializer(MockServerLogger mockServerLogger) |
Modifier and Type | Method and Description |
---|---|
MessageLogEntry |
deserialize(String jsonMessageLogEntry) |
String |
serialize(List<MessageLogEntry> messageLogEntries) |
String |
serialize(MessageLogEntry... messageLogEntries) |
String |
serialize(MessageLogEntry messageLogEntry) |
Class<MessageLogEntry> |
supportsType() |
public LogEventJsonSerializer(MockServerLogger mockServerLogger)
public String serialize(MessageLogEntry messageLogEntry)
serialize
in interface Serializer<MessageLogEntry>
public String serialize(List<MessageLogEntry> messageLogEntries)
public String serialize(MessageLogEntry... messageLogEntries)
public MessageLogEntry deserialize(String jsonMessageLogEntry)
deserialize
in interface Serializer<MessageLogEntry>
public Class<MessageLogEntry> supportsType()
supportsType
in interface Serializer<MessageLogEntry>
Copyright © 2018. All rights reserved.