Example usage for com.fasterxml.jackson.databind.module SimpleModule subclass-usage

List of usage examples for com.fasterxml.jackson.databind.module SimpleModule subclass-usage

Introduction

In this page you can find the example usage for com.fasterxml.jackson.databind.module SimpleModule subclass-usage.

Usage

From source file org.commonjava.maven.atlas.ident.jackson.ProjectVersionRefSerializerModule.java

public class ProjectVersionRefSerializerModule extends SimpleModule {

    private static final long serialVersionUID = 1L;

    private static final Set<Class<? extends ProjectRef>> REF_CLASSES;

From source file org.springframework.social.tencentWeibo.api.impl.json.TencentWeiboModule.java

/**
 * Jackson module for setting up mixin annotations on TencentWeibo model types. This enables the use of Jackson annotations without
 * directly annotating the model classes themselves.
 * @author Gavin.Lin
 */
public class TencentWeiboModule extends SimpleModule {

From source file ws.salient.aws.databind.AmazonModule.java

public class AmazonModule extends SimpleModule {

    @Override
    public void setupModule(SetupContext context) {
        context.addAbstractTypeResolver(
                new SimpleAbstractTypeResolver().addMapping(AWSCredentials.class, BasicAWSCredentials.class));

From source file org.springframework.social.vkontakte.api.impl.json.VKontakteModule.java

/**
 * Jackson module for setting up mixin annotations on VKontakte model types.
 * This enables the use of Jackson annotations without
 * directly annotating the model classes themselves.
 * @author vkolodrevskiy
 */

From source file com.muk.ext.core.jackson.PairModule.java

public class PairModule extends SimpleModule {
    private static final long serialVersionUID = ProjectCoreVersion.SERIAL_VERSION_UID;

    public PairModule() {
        super();
        addSerializer(Pair.class, new PairSerializer());

From source file de.dfki.asr.compass.rest.mixins.CompassModelMixinModule.java

public class CompassModelMixinModule extends SimpleModule implements Serializable {

    private static final long serialVersionUID = 481278111666551462L;

    public CompassModelMixinModule() {
        super("CompassJacksonMixinModule", PackageVersion.VERSION);

From source file io.syndesis.credential.CredentialModule.java

public final class CredentialModule extends SimpleModule {

    private static final long serialVersionUID = 1L;

    @SuppressWarnings("PMD.AssignmentInOperand")
    private static final class OAuthTokenDeserializer extends JsonDeserializer<OAuthToken> {

From source file org.springframework.social.soundcloud.api.impl.json.SoundCloudModule.java

/**
 * Jackson module for setting up mixin annotations on SoundCloud model types. This enables the use of Jackson annotations without
 * directly annotating the model classes themselves.
 * @author Michael Lavelle
 */
@SuppressWarnings("serial")

From source file org.springframework.data.geo.GeoModule.java

/**
 * Custom module to deserialize the geo-spatial value objects using Jackson 2.
 * 
 * @author Oliver Gierke
 * @since 1.8
 */

From source file org.hyperledger.jackson.SupernodeModule.java

public class SupernodeModule extends SimpleModule {
    private static boolean isProduction = false;
    private static Supplier<Boolean> defaultIsProduction = () -> isProduction;
    private final WireFormatter formatter;

    public static void setIsProduction(boolean s) {