package com.njzscloud.common.core.http.processor;

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

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