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

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

public class DefaultXmlBodyParamProcessor implements XmlBodyParamProcessor {
    @Override
    public byte[] process(XmlBodyParam xmlBodyParam, String paramName, Class<?> paramClazz, Object paramValue) {
        return Jackson.toXmlBytes(paramValue);
    }
}
