Package org.springframework.ai.util
Class JacksonUtils
java.lang.Object
org.springframework.ai.util.JacksonUtils
Utility methods for Jackson.
- Author:
- Sebastien Deleuze
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<com.fasterxml.jackson.databind.Module>
Instantiate well-known Jackson modules available in the classpath.
-
Constructor Details
-
JacksonUtils
public JacksonUtils()
-
-
Method Details
-
instantiateAvailableModules
Instantiate well-known Jackson modules available in the classpath.Supports the follow-modules:
Jdk8Module
,JavaTimeModule
,ParameterNamesModule
andKotlinModule
.- Returns:
- The list of instantiated modules.
-