@Override
    protected void doInAfterTrace(SpanEventRecorder recorder, Object target, Object[] args, Object result, Throwable throwable) {
        recorder.recordServiceType(FastjsonConstants.SERVICE_TYPE);
        recorder.recordApi(methodDescriptor);
        recorder.recordException(throwable);

        if (result instanceof Integer) {
            recorder.recordAttribute(FastjsonConstants.ANNOTATION_KEY_JSON_LENGTH, ((Integer) result).intValue());
        }
    }
Instantiates a new Write json string interceptor.

@param traceContext the trace context
@param descriptor   the descriptor
agent-module/plugins/fastjson/src/main/java/com/navercorp/pinpoint/plugin/fastjson/interceptor/WriteJsonStringInterceptor.java