Class DefaultJohnsonEventSerializer

    • Constructor Detail

      • DefaultJohnsonEventSerializer

        public DefaultJohnsonEventSerializer()
    • Method Detail

      • toJson

        public @NonNull Json toJson​(com.atlassian.johnson.event.Event johnsonEvent)
        Description copied from interface: JohnsonEventSerializer
        Converts the given Johnson Event to JSON.
        Specified by:
        toJson in interface JohnsonEventSerializer
        Parameters:
        johnsonEvent - the event to serialize
        Returns:
        the JSON object for the event