Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-1982

Strict JSONSerializer writes Date values as long

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 2.13.0
    • Documentation
    • None

    Description

      Documentation of JSONSerializers#getStrict() tells that it follows strict json format. However, the used DateSerializer always writes Date instances using date.getTime(), i.e. dates written as long values which does not match the documentation regarding dates

      Btw it would be nice to customize the used Serializers, e.g. like mentioned in JAVA-1175

      Attachments

        Activity

          People

            Unassigned Unassigned
            Anz Andreas Zink [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: