src/main/java/com/arpnetworking/logback/serialization/steno/ObjectSerialziationStrategy.java
public String serialize(
            final ILoggingEvent event,
            final String eventName,
            @Nullable final Object data)
            throws Exception {
        final String jsonData = _objectMapper.writeValueAsString(data);
        return _objectAsJsonStrategy.serialize(
                event,
                eventName,
                jsonData);
    }
public String serialize(
            final ILoggingEvent event,
            final String eventName,
            @Nullable final Object data)
            throws Exception {
        final String jsonData = _objectMapper.writeValueAsString(data);
        return _objectAsJsonStrategy.serialize(
                event,
                eventName,
                jsonData);
    }
public String serialize ( final ILoggingEvent event , final String eventName , @ Nullable final Object data ) throws Exception { final String jsonData = _objectMapper . writeValueAsString ( data ) ; return _objectAsJsonStrategy . serialize ( event , eventName , jsonData ) ; }
Serialize an event.

@param event The event.
@param eventName The event name.
@param data The message data <code>Object</code>.
@return Serialization of message as a <code>String</code>.
@throws Exception Serialization may throw any <code>Exception</code>.
Serialize an event .