Class ObjectMapperHelper


  • public abstract class ObjectMapperHelper
    extends Object
    Helper to create an ObjectMapper for JSON and XML.
    Author:
    Christian Bremer
    • 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