[ 
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.22.1

> 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.22.1, 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)

Reply via email to