package com.njzscloud.common.http.processor;

import com.njzscloud.common.core.jackson.Jackson;
import com.njzscloud.common.http.annotation.JsonBodyParam;

public class DefaultJsonBodyParamProcessor implements JsonBodyParamProcessor {
    @Override
    public byte[] process(JsonBodyParam jsonBodyParam, String paramName, Class<?> paramClazz, Object paramValue) {
        return Jackson.toJsonBytes(paramValue);
    }
}
