Class JsonObjectMapperProvider
java.lang.Object
org.springframework.integration.support.json.JsonObjectMapperProvider
Simple factory to provide JsonObjectMapper
 instances based on jackson-databind lib in the classpath.
 If there is no JSON processor in classpath, IllegalStateException will be thrown.
- Since:
- 3.0
- Author:
- Artem Bilan, Gary Russell, Vikas Prasad
- See Also:
- 
Method SummaryModifier and TypeMethodDescriptionstatic booleanReturns true if a supported JSON implementation is on the class path.static JsonObjectMapper<?,?> Return an object mapper if available.
- 
Method Details- 
newInstanceReturn an object mapper if available.- Returns:
- the mapper.
- Throws:
- IllegalStateException- if an implementation is not available.
 
- 
jsonAvailablepublic static boolean jsonAvailable()Returns true if a supported JSON implementation is on the class path.- Returns:
- true if newInstance()will return a mapper.
- Since:
- 4.2.7
 
 
-