class DslJsonSerializer implements PayloadSerializer {

    public String toJsonString(final Transaction transaction) {
        jw.reset();
        serializeTransaction(transaction);
        final String s = jw.toString();
        jw.reset();
        return s;
    }

    public  DslJsonSerializer(StacktraceConfiguration stacktraceConfiguration, ApmServerClient apmServerClient);

}