Class JacksonUtils

java.lang.Object
org.springframework.ai.util.JacksonUtils

public abstract class JacksonUtils extends Object
Utility methods for Jackson.
Author:
Sebastien Deleuze
  • Constructor Details

    • JacksonUtils

      public JacksonUtils()
  • Method Details

    • instantiateAvailableModules

      public static List<com.fasterxml.jackson.databind.Module> instantiateAvailableModules()
      Instantiate well-known Jackson modules available in the classpath.

      Supports the follow-modules: Jdk8Module, JavaTimeModule, ParameterNamesModule and KotlinModule.

      Returns:
      The list of instantiated modules.