camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vanshul.Chawla <>
Subject Camel xmljson XML to Json
Date Wed, 07 Jun 2017 14:09:24 GMT

I am using Camel xmljson marshal where my Input xml has some Arrays(defined as per xsd with
occurrence 0-10) but in xml, I am getting occurrence as 0 or 1. So xmljson is treating it
as a JsonObject instead of JsonArray and resulting json will not get it as an array with occurrence
1.(ie [] will not have one occurrence but will treat it as {})

Is there a way to do this with xmljson or do we need to code it explicitly.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message