public final class JsonObjectMapperProvider extends Object
Jackson2JsonObjectMapper
Modifier and Type | Method and Description |
---|---|
static boolean |
jsonAvailable()
Returns true if a supported JSON implementation is on the class path.
|
static JsonObjectMapper<?,?> |
newInstance()
Return an object mapper if available.
|
public static JsonObjectMapper<?,?> newInstance()
IllegalStateException
- if an implementation is not available.public static boolean jsonAvailable()
newInstance()
will return a mapper.