All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.commercetools.importapi.json.ImportApiModule Maven / Gradle / Ivy

There is a newer version: 17.15.1
Show newest version

package com.commercetools.importapi.json;

import com.commercetools.importapi.models.productvariants.Attributes;
import com.fasterxml.jackson.databind.module.SimpleModule;

import io.vrap.rmf.base.client.utils.json.modules.ModuleOptions;

/**
 * Module to configure the default jackson {@link com.fasterxml.jackson.databind.ObjectMapper} e.g. to deserialize attributes and custom fields
 */
public class ImportApiModule extends SimpleModule {
    private static final long serialVersionUID = 0L;

    public ImportApiModule(ModuleOptions options) {
        setMixInAnnotation(Attributes.class, AttributesMixin.class);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy