Interface JohnsonEventSerializer
-
- All Known Implementing Classes:
DefaultJohnsonEventSerializer
,LegacyJohnsonEventSerializer
@ParametersAreNonnullByDefault public interface JohnsonEventSerializer
Marshals JohnsonEvent
s into JSON for display on the Johnson page.- Since:
- 6.5.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NonNull Json
toJson(com.atlassian.johnson.event.Event johnsonEvent)
Converts the given JohnsonEvent
to JSON.
-
-
-
Method Detail
-
toJson
@NonNull Json toJson(com.atlassian.johnson.event.Event johnsonEvent)
Converts the given JohnsonEvent
to JSON.- Parameters:
johnsonEvent
- the event to serialize- Returns:
- the JSON object for the event
-
-