com.alibaba.ocean.rawsdk.client.imp.serialize.Param2RequestSerializer Maven / Gradle / Ivy
/**
*
*/
package com.alibaba.ocean.rawsdk.client.imp.serialize;
import com.alibaba.fastjson.JSON;
import com.alibaba.ocean.rawsdk.client.policy.Protocol;
/**
* @author hongbang.hb
*
*/
public class Param2RequestSerializer extends AbstractParamRequestSerializer {
public String supportedContentType() {
return Protocol.param2.name();
}
@Override
protected String processNestedParameter(Object value) {
return JSON.toJSONString(value);
}
}