Class VersionedObjectMapperFactory


  • public class VersionedObjectMapperFactory
    extends Object
    Vends ObjectMapper instances that correspond to SerDe versions.
    • Method Detail

      • create

        public static com.fasterxml.jackson.databind.ObjectMapper create​(BlockAllocator allocator)
        Creates an ObjectMapper using the current SDK SerDe version.
        Parameters:
        allocator -
        Returns:
      • create

        public static com.fasterxml.jackson.databind.ObjectMapper create​(BlockAllocator allocator,
                                                                         int version)
        Creates an ObjectMapper using the provided SerDe version.
        Parameters:
        allocator -
        version -
        Returns: