All Downloads are FREE. Search and download functionalities are using the official Maven repository.

info.hexin.json.transform.impl.IntTransform Maven / Gradle / Ivy

package info.hexin.json.transform.impl;

import info.hexin.json.JsonConfig;
import info.hexin.json.transform.JsonTransform;

public class IntTransform implements JsonTransform {

    public static final IntTransform instance = new IntTransform();

    @Override
    public Integer transform(Object value, Class clazz, JsonConfig config) {
        return Integer.valueOf(value.toString());
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy