This data format supports the following options. un-marshaling => converting from JSON to XML.marshalling => converting from XML to JSON.Hence, the marshal/unmarshal semantics are assigned as follows: In this context, XML is considered the high-level format, while JSON is the low-level format. This data format leverages the Json-lib library to achieve direct conversion. This data format provides the capability to convert from XML to JSON and viceversa directly, without stepping through intermediate POJOs. Camel already supports a number of data formats to perform XML and JSON-related conversions, but all of them require a POJO either as an input (for marshalling) or produce a POJO as output (for un-marshaling).
0 Comments
Leave a Reply. |