Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-3683

[Commons] Json/YamlUtils support for java.time (ISO)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Resolved
    • None
    • 2.0.0
    • Commons
    • None

    Description

      Use ISO defaults for JSON/YAML Date/Time serialization, that is

      localTime -> DateTimeFormatter.ISO_LOCAL_TIME
      localDate -> DateTimeFormatter.ISO_LOCAL_DATE
      localDateTime -> DateTimeFormatter.ISO_LOCAL_DATE_TIME
      offsetTime -> DateTimeFormatter.ISO_OFFSET_TIME
      offsetDateTime -> DateTimeFormatter.ISO_OFFSET_DATE_TIME
      zonedDateTime -> DateTimeFormatter.ISO_ZONED_DATE_TIME

      (Perhaps backport later to master.)

      Attachments

        Activity

          People

            hobrom Andi Huber
            hobrom Andi Huber
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: