Example usage for com.fasterxml.jackson.databind Module getModuleName

List of usage examples for com.fasterxml.jackson.databind Module getModuleName

Introduction

In this page you can find the example usage for com.fasterxml.jackson.databind Module getModuleName.

Prototype

public abstract String getModuleName();

Source Link

Document

Method that returns identifier for module; this can be used by Jackson for informational purposes, as well as in associating extensions with module that provides them.

Usage

From source file:com.google.api.server.spi.ConfiguredObjectMapperTest.java

private static void doModuleSetup(Module module, String name) {
    when(module.getModuleName()).thenReturn(name);
    when(module.version()).thenReturn(Version.unknownVersion());
}