Giter Club home page Giter Club logo

Comments (7)

cowtowncoder avatar cowtowncoder commented on June 3, 2024

Hmmh. Not quite sure where/how to do this: this is a JAX-RS type, so core jackson-databind can not support it. But perhaps JAX-RS providers could add JAX-RS type support module, if there are other similar types that need special handling.

from jackson-jaxrs-providers.

cowtowncoder avatar cowtowncoder commented on June 3, 2024

Another thing to note is that Link is for JAX-RS 2.0, not 1.1. Not sure if we can yet drop 1.x support?

from jackson-jaxrs-providers.

cowtowncoder avatar cowtowncoder commented on June 3, 2024

Ok. Since we are very close to 2.7 release, I will postpone this for Jackson 2.8, to allow for discussion on JAX-RS 2.0. I suspect upgrade is fine, but due to potential compatibility issues do not want to push this quite yet.

I will actually add a skeletal version of datatype module, but will not connect it to be pushed as an artifact.

from jackson-jaxrs-providers.

Dichotomia avatar Dichotomia commented on June 3, 2024

Any news about this functionality?

from jackson-jaxrs-providers.

cowtowncoder avatar cowtowncoder commented on June 3, 2024

@Dichotomia I haven't had time to work on this, although I did add datatypes within repository.
If anyone has time to help that'd be great; otherwise I will eventually get to this. 2.8 itself is still at least a month out, but getting this done early would help it be included in the first RC,

from jackson-jaxrs-providers.

cowtowncoder avatar cowtowncoder commented on June 3, 2024

Datatype module added under datatypes/, Maven coordinates:

  <groupId>com.fasterxml.jackson.datatype</groupId>
  <artifactId>jackson-datatype-jaxrs</artifactId>

and module class name Jaxrs2TypesModule.

Note that for now no attempt is made to auto-register since I don't trust I can ensure all ObjectMapper instances would be configured. But users typically have to choose other datatype modules as well so it should not be big deal.

It would also make sense to see what other JAX-RS 2 datatypes should be supported.

from jackson-jaxrs-providers.

Dichotomia avatar Dichotomia commented on June 3, 2024

Good job!

from jackson-jaxrs-providers.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.