Difference between revisions of "XML2JSONTransformation"
(Created page with "==Description== XML2JSONTransformation element defines a XML to JSON Transformation =={{GVESB}} configuration== The XML2JSONTransformation Element is used by [[GVDataTransform...") |
|||
Line 38: | Line 38: | ||
| TransformerFactory || optional || The FQN of the TransformerFactory class to use. If not configured use the JVM default. | | TransformerFactory || optional || The FQN of the TransformerFactory class to use. If not configured use the JVM default. | ||
|} | |} | ||
+ | <div class="version_ge3.4.0.4/3.3.4.2"> | ||
+ | {|class="gvtable" | ||
+ | ! Attribute !! Type !! Description | ||
+ | |- | ||
+ | | ForceElementsArray || optional || A comma-separated list of element's local-name to be forced as JSONArray also if in single instance. | ||
+ | |} | ||
+ | </div> | ||
+ | <div class="version_ge3.4.0.5/3.3.4.2"> | ||
+ | {|class="gvtable" | ||
+ | ! Attribute !! Type !! Description | ||
+ | |- | ||
+ | | ForceStringValue || optional || A comma-separated list of element's local-name to be forced as String values, ignoring automatic type conversion. | ||
+ | |} | ||
+ | </div> | ||
JSON2XMLTransformation might contain the following sub-elements: | JSON2XMLTransformation might contain the following sub-elements: |
Latest revision as of 12:50, 31 December 2014
Description
XML2JSONTransformation element defines a XML to JSON Transformation
GreenVulcano® ESB configuration
The XML2JSONTransformation Element is used by Transformations.
The following table shows its attributes:
Attribute | Type | Description |
---|---|---|
type | fixed | This attribute must assume the value transformation. |
class | fixed | This attribute must assume the value it.greenvulcano.gvesb.gvdte.transformers.json.XML2JSONTransformer |
name | required | Transformation name. The attribute's value cannot be null. |
validate | optional | The attribute's admitted values are:
|
validateDirection | optional | The attribute's admitted values are:
|
validationType | optional | The attribute's admitted values are:
|
InputXSLMapName | optional | Style-sheet to be used in transformation from the input XML to the XML(->JSON). The attribute's value cannot be null. |
SchemaInput | optional | XSD Schema that describes the input XML. |
SchemaOutput | optional | XSD Schema that describes the output XML. |
DataSourceSet | optional | DataSourceSet name from which retrieves the transformation map and validation schema. The attribute's value cannot be null. |
TransformerFactory | optional | The FQN of the TransformerFactory class to use. If not configured use the JVM default. |
Attribute | Type | Description |
---|---|---|
ForceElementsArray | optional | A comma-separated list of element's local-name to be forced as JSONArray also if in single instance. |
Attribute | Type | Description |
---|---|---|
ForceStringValue | optional | A comma-separated list of element's local-name to be forced as String values, ignoring automatic type conversion. |
JSON2XMLTransformation might contain the following sub-elements: