Giter VIP home page Giter VIP logo

Comments (4)

cowtowncoder avatar cowtowncoder commented on July 25, 2024

Looks like @Documented is Java7 addition, unfortunately. I have no other objections, but unfortunately this one is problematic until we upgrade baseline JDK requirement.

I have been thinking of proposing Jackson 2.7 to move to Java 7, for what that is worth. The only question is whether we'd leave jackson-core (streaming) and perhaps jackson-annotations out; but that may not have many benefits.

from jackson-annotations.

zoliszel avatar zoliszel commented on July 25, 2024

If I am not mistaken it is available since 1.5: http://docs.oracle.com/javase/1.5.0/docs/api/java/lang/annotation/Documented.html (the link I posted was from 1.7 indeed :) )

from jackson-annotations.

cowtowncoder avatar cowtowncoder commented on July 25, 2024

Ah. I should have double-checked, javadocs indeed suggest 1.5.

If so, no objections, I can add it.

Do you think any other Jackson annotations should use this meta-annotation?

from jackson-annotations.

zoliszel avatar zoliszel commented on July 25, 2024

All other Jackson annotations are related to controlling the way serialization/de-serialization works which I do not think necessarily needs to be part of the JavaDoc for a class (unless explicitly added) - this is also in-line with JAXB annotations, they are not documented either.

JsonPropertyDescription some what special as it conveys documentation by definition and as such I do not see any compeling reason to add @Documented to anything but that one.

Thanks for adding this in.

Regards,
Zoltan

from jackson-annotations.

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.