aQute.lib.json.EnumHandler 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.io.IOException;
import java.lang.reflect.Type;
import java.util.Map;
public class EnumHandler extends Handler {
@SuppressWarnings("rawtypes")
final Class type;
public EnumHandler(Class< ? > type) {
this.type = type;
}
@Override
public void encode(Encoder app, Object object, Map