New annotation JacksonXmlInclude works like JsonInclue but for xml.#778
New annotation JacksonXmlInclude works like JsonInclue but for xml.#778IMurzich wants to merge 1 commit intoFasterXML:2.xfrom
Conversation
|
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. |
|
Hi @cowtowncoder ! Thanks. |
@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. |
|
Ok, will I move this change to 3.x branch? |
|
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:
***@***.***>
|
|
@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.