Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-1277

JacksonJaxbJsonProvider support JDK8 Date & Time

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Unresolved
    • Major
    • None
    • 3.0.14.Final
    • jaxrs
    • None

    Description

      The jackson-datatype-jsr310 module support for "Java 8 Date & Time" .
      I've added the jsr310 dependency to the pom.xml.
      But only when it is registered, it can work properly.

      ex.(https://github.com/FasterXML/jackson-datatype-jsr310)

      ObjectMapper mapper = new ObjectMapper();
      mapper.findAndRegisterModules();

      or

      ObjectMapper mapper = new ObjectMapper();
      mapper.registerModule(new JavaTimeModule());

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              noahx_jira Noah Hsiao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: