You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Federico Mariani (Jira)" <ji...@apache.org> on 2026/09/10 11:10:00 UTC

[jira] [Updated] (CAMEL-24669) camel-groovy - groovyJson/groovyXml: support Jackson 3 nodes and fix prettyPrint=false output

     [ https://issues.apache.org/jira/browse/CAMEL-24669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Federico Mariani updated CAMEL-24669:
-------------------------------------
    Fix Version/s: 4.23.0

> camel-groovy - groovyJson/groovyXml: support Jackson 3 nodes and fix prettyPrint=false output
> ---------------------------------------------------------------------------------------------
>
>                 Key: CAMEL-24669
>                 URL: https://issues.apache.org/jira/browse/CAMEL-24669
>             Project: Camel
>          Issue Type: Bug
>          Components: camel-groovy
>    Affects Versions: 4.22.0
>            Reporter: Federico Mariani
>            Assignee: Federico Mariani
>            Priority: Major
>             Fix For: 4.23.0
>
>
> The {{groovyJson}} and {{groovyXml}} data formats have two issues:
> * Jackson 3.x nodes ({{tools.jackson.databind.JsonNode}}) are not converted to a Map, only Jackson 2.x ones are. They fall back to raw bytes, so {{groovyXml}} outputs JSON instead of XML.
> * {{groovyJson}} with {{prettyPrint=false}} encodes the JSON twice, producing a quoted JSON string instead of a JSON object.
> _Claude Code on behalf of Croway_



--
This message was sent by Atlassian Jira
(v8.20.10#820010)