com.visenze.visearch.internal.json.ViSearchModule Maven / Gradle / Ivy
package com.visenze.visearch.internal.json;
import com.fasterxml.jackson.databind.module.SimpleModule;
import com.visenze.visearch.*;
public class ViSearchModule extends SimpleModule {
public ViSearchModule() {
super("ViSearchModule");
}
@Override
public void setupModule(SetupContext context) {
context.setMixInAnnotations(ImageResult.class, ImageResultMixin.class);
context.setMixInAnnotations(ProductType.class, ProductTypeMixin.class);
context.setMixInAnnotations(Facet.class, FacetMixin.class);
context.setMixInAnnotations(FacetItem.class, FacetItemMixin.class);
context.setMixInAnnotations(InsertTrans.class, InsertTransMixin.class);
context.setMixInAnnotations(InsertStatus.class, InsertStatusMixin.class);
context.setMixInAnnotations(InsertError.class, InsertErrorMixin.class);
context.setMixInAnnotations(GroupSearchResult.class, GroupSearchResultMixin.class);
}
}