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

Claus Ibsen resolved CAMEL-13378.
---------------------------------
    Resolution: Invalid

camel-xmljson is deprecated.

And also you should ask such questions on user mailing list first, or 
stackoverflow, or gitter chat etc.

> XMLJSON - data type of boolean
> ------------------------------
>
>                 Key: CAMEL-13378
>                 URL: https://issues.apache.org/jira/browse/CAMEL-13378
>             Project: Camel
>          Issue Type: New Feature
>          Components: camel-xmljson
>    Affects Versions: 2.15.1
>            Reporter: hossein
>            Priority: Major
>
> Attempting to convert from XML to JSON using xmljson[1]. Need an approach to 
> specify datatype for Boolean.  For example, converting of [2] will result in 
> [3]. You'll notice that the converted boolean value is treated as String 
> (embedded in quotes) not actual Boolean value. Is there any hint to tell 
> converter to convert as boolean NOT string?
>  
> [1] [https://camel.apache.org/xmljson.html]
> [2] <citizen>false</citizen>
> [3]  "citizen":"false"   *should be* "citizen":false



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to