
com.jsoniter.spi.EmptyExtension Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jsoniter Show documentation
Show all versions of jsoniter Show documentation
jsoniter (json-iterator) is fast and flexible JSON parser available in Java and Go
package com.jsoniter.spi;
import java.lang.reflect.Type;
public class EmptyExtension implements Extension {
@Override
public Type chooseImplementation(Type type) {
return type;
}
@Override
public boolean canCreate(Class clazz) {
return false;
}
@Override
public Object create(Class clazz) {
throw new UnsupportedOperationException();
}
@Override
public Decoder createDecoder(String cacheKey, Type type) {
return null;
}
@Override
public Encoder createEncoder(String cacheKey, Type type) {
return null;
}
@Override
public void updateClassDescriptor(ClassDescriptor desc) {
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy