Interface JohnsonEventSerializer

All Known Implementing Classes:
DefaultJohnsonEventSerializer, LegacyJohnsonEventSerializer

@ParametersAreNonnullByDefault public interface JohnsonEventSerializer
Marshals Johnson Events into JSON for display on the Johnson page.
Since:
6.5.0
  • Method Summary

    Modifier and Type
    Method
    Description
    @NonNull Json
    toJson(com.atlassian.johnson.event.Event johnsonEvent)
    Converts the given Johnson Event to JSON.
  • Method Details

    • toJson

      @NonNull Json toJson(com.atlassian.johnson.event.Event johnsonEvent)
      Converts the given Johnson Event to JSON.
      Parameters:
      johnsonEvent - the event to serialize
      Returns:
      the JSON object for the event