aQute.lib.json.NumberHandler Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of biz.aQute.bndlib Show documentation
Show all versions of biz.aQute.bndlib Show documentation
bndlib: A Swiss Army Knife for OSGi
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