Details
-
New Feature
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
2.15.1
-
None
-
None
-
Unknown
Description
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