Class InventoryMapper


  • public class InventoryMapper
    extends Object
    Wrapper around Jackson's ObjectMapper for serializing and deserializing Inventories. The ObjectMapper setup is a finicky and I do not recommend changing it unless you are sure you know what you're doing.
    • Constructor Detail

      • InventoryMapper

        public InventoryMapper​(com.fasterxml.jackson.databind.ObjectMapper objectMapper)
        Should use InventoryMapper.defaultMapper() or InventoryMapper.prettyPrintMapper() unless you know what you're doing.
        Parameters:
        objectMapper - object mapper