Class JsonSerializable.Base

  • All Implemented Interfaces:
    JsonSerializable
    Direct Known Subclasses:
    JsonNode
    Enclosing interface:
    JsonSerializable

    public abstract static class JsonSerializable.Base
    extends java.lang.Object
    implements JsonSerializable
    Base class with minimal implementation, as well as couple of extension methods that core Jackson databinding makes use of. Use of this base class is strongly recommended over directly implementing JsonSerializable.
    Since:
    2.6
    • Constructor Detail

      • Base

        public Base()
    • Method Detail

      • isEmpty

        public boolean isEmpty​(SerializerProvider serializers)
        Method that may be called on instance to determine if it is considered "empty" for purposes of serialization filtering or not.