Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork233
New annotation JacksonXmlInclude works like JsonInclue but for xml.#778
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:2.x
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
cowtowncoder commentedOct 8, 2025
Thank you for your contribution. Unfortunately I don't think we want to go down the route of per-format annotations, duplicating all functionality. So while the idea of having a mechanism for annotating different behavior for different format is valid, we need to figure out more maintainable approach. |
IMurzich commentedOct 8, 2025
Hi@cowtowncoder ! Thanks. |
pjfanning commentedOct 8, 2025
@IMurzich 2.x is no longer the dev branch. Most changes that will go in 2.x in future will be bug fixes. This is not a bug fix. |
IMurzich commentedOct 8, 2025
Ok, will I move this change to 3.x branch? |
cowtowncoder commentedOct 8, 2025 via email
At this point I wont be accepting it on any branch sorry. So can stay as is. …On Wed, Oct 8, 2025 at 11:24 AM IMurzich ***@***.***> wrote: *IMurzich* left a comment (FasterXML/jackson-dataformat-xml#778) <#778 (comment)> Ok, will I move this change to 3.x branch? — Reply to this email directly, view it on GitHub <#778 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAANOGPLJCBMVC57EJESZLL3WVJHPAVCNFSM6AAAAACIUUHQC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGOBSG4ZDONRTGA> . You are receiving this because you were mentioned.Message ID: ***@***.***> |
IMurzich commentedOct 9, 2025
@cowtowncoder , thank you for your time. |
Use this annotation when need to have different result for json and xml output. Parameters for this annotation same as for JsonInclude.