Hello,

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.

Vanshul

Reply via email to