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