Package org.bremersee.http.converter
Class ObjectMapperHelper
- java.lang.Object
-
- org.bremersee.http.converter.ObjectMapperHelper
-
public abstract class ObjectMapperHelper extends Object
Helper to create anObjectMapper
for JSON and XML.- Author:
- Christian Bremer
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static com.fasterxml.jackson.databind.ObjectMapper
getJsonMapper()
Gets an object mapper for JSON.static com.fasterxml.jackson.dataformat.xml.XmlMapper
getXmlMapper()
Gets an object mapper for XML.
-
-
-
Method Detail
-
getJsonMapper
public static com.fasterxml.jackson.databind.ObjectMapper getJsonMapper()
Gets an object mapper for JSON.- Returns:
- an object mapper for JSON
-
getXmlMapper
public static com.fasterxml.jackson.dataformat.xml.XmlMapper getXmlMapper()
Gets an object mapper for XML.- Returns:
- an object mapper for XML
-
-