com.fasterxml.jackson.databind.ser.std

Class DateTimeSerializerBase<T>

    • Field Detail

      • _useTimestamp

        protected final Boolean _useTimestamp
        Flag that indicates that serialization must be done as the Java timestamp, regardless of other settings.
      • _customFormat

        protected final DateFormat _customFormat
        Specific format to use, if not default format: non null value also indicates that serialization is to be done as JSON String, not numeric timestamp, unless _useTimestamp is true.
    • Constructor Detail

      • DateTimeSerializerBase

        protected DateTimeSerializerBase(Class<T> type,
                              Boolean useTimestamp,
                              DateFormat customFormat)

Copyright © 2008–2017 FasterXML. All rights reserved.