Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a mechanism for using @JsonCreator.mode for resolving possible ambiguity between delegating- and property-based creators #614

Closed
cowtowncoder opened this issue Nov 17, 2014 · 3 comments
Milestone

Comments

@cowtowncoder
Copy link
Member

Now that FasterXML/jackson-annotations#47 has been implemented, there's need for matching access via AnnotationIntrospector.

@cowtowncoder cowtowncoder added this to the 2.5.0 milestone Nov 17, 2014
@cowtowncoder
Copy link
Member Author

Implemented by adding AnnotationIntrospector.findCreatorBinding().

cowtowncoder added a commit that referenced this issue Nov 17, 2014
cowtowncoder added a commit that referenced this issue Nov 17, 2014
@wenxzhen
Copy link

Any example for reference? I have tried to set the JsonCreator with Jackson 2.8.6, but never make it.

Please help
Thanks,

@cowtowncoder
Copy link
Member Author

@wenxzhen depends on what kind of problem you are to solve. Unit tests have lots of @JsonCreator examples, although many for quite specific use cases.

I should probably write a blog post detailing differences at some point.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants