Interface NullKeySkippable

All Known Implementing Classes:
JDKKeyDeserializer.EnumKD

interface NullKeySkippable
Internal capability interface for key deserializers that can signal null keys should be skipped during Map deserialization.

This abstraction exists so that MapDeserializer does not need to know about specific key types (like enums) or their configuration options. The key deserializer itself decides whether null keys warrant skipping the entry.

Package-private: not part of public API.

Since:
3.1
  • Method Details

    • skipNullKeys

      boolean skipNullKeys(DeserializationContext ctxt)
      Parameters:
      ctxt - Deserialization context
      Returns:
      true if a null key (from an unrecognized value) should cause the entire map entry to be skipped