Comments (5)
Interesting. Yes, I could see why it would make sense.
Similar merging would make sense for some other annotations, like:
@JsonIgnoreProperties
(when listing properties)@JsonSubTypes
(to combine sets of subtypes)
and probably others I can't think of now. For others it may be necessary to simply take one of the lists, as there is no meaningful way to merge values contained.
I'll have to figure out how feasible this is to do; if all goes well, it could get added in 2.5 (I expect some changes to internal APIs are needed).
from jackson-annotations.
That would be great if it works out. Also, it is great how quickly you respond to issues. It is very appreciated.
from jackson-annotations.
@davideanderson I have noticed that it is better to try to respond quickly; otherwise it's easy to forget. And it's also self-reinforcing process, I appreciate when submitter follows up on issue too.
Quick progress will halt for a bit (I'll be off for 20 day vacation now :) ), but hopefully we'll get this resolved in July. Thank you again for good suggestion; use case makes sense but I hadn't thought about it. One of those things that are obvious in hindsight.
from jackson-annotations.
Enjoy the vacation.. 20 days sounds great!
from jackson-annotations.
Just a quick note: have not been able to figure out how to do this yet, will not be part of 2.6.
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.