Class ObjectMapperFactory

java.lang.Object
org.apache.directory.scim.core.json.ObjectMapperFactory

public class ObjectMapperFactory extends Object
Creates and configures an ObjectMapper used for application/scim+json parsing.
  • Constructor Details

    • ObjectMapperFactory

      public ObjectMapperFactory()
  • Method Details

    • getObjectMapper

      public static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
      Returns an ObjectMapper configured for use with Jackson and Jakarta bindings. This ObjectMapper does NOT unmarshal SCIM Extension values, use createObjectMapper(SchemaRegistry) when serializing REST response and requests.
      Returns:
      an ObjectMapper configured for use with Jackson and Jakarta bindings.
    • createObjectMapper

      public static com.fasterxml.jackson.databind.ObjectMapper createObjectMapper(SchemaRegistry schemaRegistry)
      Creates and configures an ObjectMapper SCIM Resource in REST request and responses application/scim+json.