com.fasterxml.jackson.databind

Class JsonSerializable.Base

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


    public abstract static class JsonSerializable.Base
    extends 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

      • JsonSerializable.Base

        public JsonSerializable.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.

Copyright © 2008–2016 FasterXML. All rights reserved.