Class JpaApiModule

java.lang.Object
com.fasterxml.jackson.databind.Module
com.totvs.tjf.api.jpa.data.web.JpaApiModule
All Implemented Interfaces:
com.fasterxml.jackson.core.Versioned

public class JpaApiModule extends com.fasterxml.jackson.databind.Module
Define a custom Module to register the custom serializers and deserializers designed to attend TOTVS API Guide using the standard Spring Data implementations.
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.fasterxml.jackson.databind.Module

    com.fasterxml.jackson.databind.Module.SetupContext
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)
    Register the SliceJsonSerializer.
    com.fasterxml.jackson.core.Version
     

    Methods inherited from class com.fasterxml.jackson.databind.Module

    getDependencies, getTypeId

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • JpaApiModule

      public JpaApiModule()
  • Method Details

    • getModuleName

      public String getModuleName()
      Specified by:
      getModuleName in class com.fasterxml.jackson.databind.Module
    • version

      public com.fasterxml.jackson.core.Version version()
      Specified by:
      version in interface com.fasterxml.jackson.core.Versioned
      Specified by:
      version in class com.fasterxml.jackson.databind.Module
    • setupModule

      public void setupModule(com.fasterxml.jackson.databind.Module.SetupContext context)
      Register the SliceJsonSerializer.
      Specified by:
      setupModule in class com.fasterxml.jackson.databind.Module