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