Package org.apache.unomi.persistence.spi


package org.apache.unomi.persistence.spi
  • Class
    Description
    Custom object mapper to be able to configure Jackson to our needs.
     
    A service to provide persistence and retrieval of context server entities.
    Helper method for properties
    This Jackson deserializer makes it possible to register field matching regular expressions that can be matched to class names, as in the following example: SimpleModule deserializerModule = new SimpleModule("PropertyTypedObjectDeserializerModule", new Version(1, 0, 0, null, "org.apache.unomi.rest", "deserializer")); PropertyTypedObjectDeserializer propertyTypedObjectDeserializer = new PropertyTypedObjectDeserializer(null, null); propertyTypedObjectDeserializer.registerMapping("type=.