Class JohnsonEventCollectionSerializer


  • @ParametersAreNonnullByDefault
    public class JohnsonEventCollectionSerializer
    extends Object
    Transforms a Collection of Johnson Events into the JSON Array needed by the Johnson page.
    Since:
    6.5.0
    • Constructor Detail

    • Method Detail

      • toJson

        public @NonNull JsonArray toJson​(Iterable<com.atlassian.johnson.event.Event> events)
        Returns the JSON representation of the given Johnson events.
        Parameters:
        events - the events to serialize
        Returns:
        the JSON