Interface JohnsonEventSerializer
-
- All Known Implementing Classes:
DefaultJohnsonEventSerializer,LegacyJohnsonEventSerializer
@ParametersAreNonnullByDefault public interface JohnsonEventSerializerMarshals JohnsonEvents 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 JsontoJson(com.atlassian.johnson.event.Event johnsonEvent)Converts the given JohnsonEventto JSON.
-
-
-
Method Detail
-
toJson
@NonNull Json toJson(com.atlassian.johnson.event.Event johnsonEvent)
Converts the given JohnsonEventto JSON.- Parameters:
johnsonEvent- the event to serialize- Returns:
- the JSON object for the event
-
-