aQute.lib.json.NumberHandler Maven / Gradle / Ivy
package aQute.lib.json;
import java.lang.reflect.Type;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Map;
public class NumberHandler extends Handler {
final Class> type;
NumberHandler(Class> clazz) {
this.type = clazz;
}
@Override
public void encode(Encoder app, Object object, Map