com.fasterxml.jackson.databind.ser.std

Class SqlDateSerializer

  • All Implemented Interfaces:
    JsonFormatVisitable, SchemaAware


    public class SqlDateSerializer
    extends StdScalarSerializer<Date>
    Compared to regular Date serialization, we do use String representation here. Why? Basically to truncate of time part, since that should not be used by plain SQL date.

Copyright © 2012 FasterXML. All Rights Reserved.