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

JacksonJaxbJsonProvider support JDK8 Date & Time

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 6.2.11.Final, 7.0.0.Beta1
    • 3.0.14.Final
    • jaxrs
    • None

      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());

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

              Created:
              Updated:
              Resolved: