@ParametersAreNonnullByDefault public class DefaultJohnsonEventSerializer extends Object implements JohnsonEventSerializer
Events that have the additional attributes necessary for display on the
new Johnson page layout introduced in Confluence 6.5. Legacy events (i.e. without these attributes) should instead be
serialized by the LegacyJohnsonEventSerializer.LegacyJohnsonEventSerializer| Constructor and Description |
|---|
DefaultJohnsonEventSerializer() |
| Modifier and Type | Method and Description |
|---|---|
@NonNull Json |
toJson(com.atlassian.johnson.event.Event johnsonEvent)
Converts the given Johnson
Event to JSON. |
public @NonNull Json toJson(com.atlassian.johnson.event.Event johnsonEvent)
JohnsonEventSerializerEvent to JSON.toJson in interface JohnsonEventSerializerjohnsonEvent - the event to serializeCopyright © 2003–2022 Atlassian. All rights reserved.