@Override
    protected void doInAfterTrace(SpanEventRecorder recorder, Object target, Object[] args, Object result, Throwable throwable) {
        recorder.recordServiceType(JsonLibConstants.SERVICE_TYPE);
        recorder.recordApi(methodDescriptor);
        recorder.recordException(throwable);
        recorder.recordAttribute(JsonLibConstants.JSON_LIB_ANNOTATION_KEY_JSON_LENGTH, ((String) result).length());
    }
JsonLib method interceptor

@author Sangyoon Lee
agent-module/plugins/json-lib/src/main/java/com/navercorp/pinpoint/plugin/json_lib/interceptor/ToStringInterceptor.java