JSON XML Conversion Configuration
Establishes a default XML element name for all un-named JSON array elements. This is for JSON to XML conversion only.
Default: element
Indicates whether the root XML element should be a named JSON object inside an outer set of {}'s or treated anonymously as the root JSON object represented with the outer {}'s. For example, if true the XML string 1 will become { 'a' : { 'b': 1 } }. If false the same XML string will become { 'b': 1 }. This is for XML to JSON conversion only.
Default: false
Indicates whether namespace declarations should be converted to JSON attributes or not (ignored entirely). This is for XML to JSON conversion only.
Default: true
Indicates whether namespace prefixes in XML element names should be removed when generating JSON names or not. This is for XML to JSON conversion only.
Default: true
Indicates whether prefixes from parent XML elements should automatically be applied to children elements or not. By default namespace prefixes are not added. The input JSON names must have the prefixes in them already. If the input JSON names do not have namespace prefixes and the goal is to have them in the resulting XML then either changeObjectName() must be called for each JSON name without a prefix or use this setting or both. By setting this to true when an XML element is created, if the parent XML element has a prefix it will automatically be added to the new element. This is for JSON to XML conversion only.
Default: false
Indicates whether to automatically expand from child to parent all named array elements. For example, by setting to true the JSON structure of { 'a' : { 'b' : '1', '2' } } will result in XML of 12 and a setting of false will result in XML of
Default: false
Indicates whether an outer JSON object using the name of the XML elements used as the array contents should be created. For example if the input XML is 12 with this setting false the output JSON would be { 'a' : 1, 2 }. With this setting true the output JSON would be { 'a' : { 'b' : 1, 2 } }.
Default: false