Package com.yahoo.json
Class Jackson
java.lang.Object
com.yahoo.json.Jackson
Utility class to get jackson json parsers with common settings.
TODO Belong in vespajlib, but due to OSGI resides here.
There is also a copy in testutil for testing in non OSGI modules
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic com.fasterxml.jackson.databind.ObjectMapper
static com.fasterxml.jackson.databind.ObjectMapper
createMapper
(com.fasterxml.jackson.core.JsonFactoryBuilder jsonFactoryBuilder) static com.fasterxml.jackson.databind.ObjectMapper
mapper()
-
Constructor Details
-
Jackson
public Jackson()
-
-
Method Details
-
createMapper
public static com.fasterxml.jackson.databind.ObjectMapper createMapper() -
createMapper
public static com.fasterxml.jackson.databind.ObjectMapper createMapper(com.fasterxml.jackson.core.JsonFactoryBuilder jsonFactoryBuilder) -
mapper
public static com.fasterxml.jackson.databind.ObjectMapper mapper()
-