hossein created CAMEL-13378:
-------------------------------
Summary: 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
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)