package com.njzscloud.common.http.processor;

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

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