Comments (4)
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.
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.
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.
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)
- [FEATURE] Using Jackson Annotations simultaneously: @JsonNaming @JsonAlias HOT 4
- remove (alias) "Json" from annotations HOT 1
- FEATURE : add annotation support to generate dependencies / dependentRequired into a schema file HOT 1
- Document that @JsonAlias can be used on enum values HOT 3
- enable @jsonignores ignore property of property of and more... HOT 1
- @JsonIgnore usage instead of @JsonManagedReference and @JsonBackReference HOT 1
- Add @Inherited annotation to all Jackson annotations HOT 2
- `@JsonIgnore` on `public boolean isSomething()` methods: Bug or feature ? HOT 4
- Add support for prefix and suffix on @JsonAnySetter annotation HOT 3
- Allow explicit `JsonSubTypes` repeated names check HOT 1
- A interface has annodationed (@JsonTypeInfo/@JsonSubTypes) , but got a Exception HOT 1
- Multiple Variable Declarations (Single Line) HOT 11
- Add NOTICE file with copyright information HOT 20
- @JsonProperty on a boolean field results into two fields in the final JSON HOT 2
- Add `JsonFormat.Feature.READ_DATE_TIMESTAMPS_AS_NANOSECONDS`
- Add "require type id for subtypes" property for `JsonTypeInfo.Value` in 3.0 HOT 8
- @JsonCreator with constuctor, whitch parameters annotated with @JsonProperty
- Rename ambiguous `JsonProperty.Access.*` constants HOT 1
- Allow `@JsonAnySetter` on `ElementType.PARAMETER` (for use on constructor parameters)
- Convert unit tests to JUnit5 (from JUnit4) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jackson-annotations.