Class ToStringParamEncoder

java.lang.Object
com.palantir.dialogue.annotations.ToStringParamEncoder
All Implemented Interfaces:
ListParamEncoder<Object>, ParamEncoder<Object>

public final class ToStringParamEncoder extends Object implements ListParamEncoder<Object>, ParamEncoder<Object>
Simple Encoder implementation which always uses the Object.toString() value. This is not used by default because it should be a conscious decision to rely on Object.toString() over the wire.