info.hexin.json.transform.impl.StringTransform Maven / Gradle / Ivy
The newest version!
package info.hexin.json.transform.impl;
import info.hexin.json.JsonConfig;
import info.hexin.json.transform.JsonTransform;
/**
*
* @author hexin
*
*/
public class StringTransform implements JsonTransform {
public static final StringTransform instance = new StringTransform();
@Override
public String transform(Object value, Class clazz, JsonConfig config) {
return value.toString();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy