appmixer.utils.xml.JsonToXml
1.0.0
Public
| Field | Type | Description |
|---|---|---|
| JSON | textarea | JSON to convert to XML. |
| Array Node Name | text | When you build XML from a JSON array, set node name for the array items. E.g. for "car": [{ "color": "blue" }, { "color": "black" }] -> <car><color>blue</color></car><car><color>black</color></car> |
| Attribute Name Prefix | text | To recognize attributes in JSON object so that they can be trimmed. |
| Attributes Group Name | text | To recognize attribute properties group in the JS object so that they can be trimmed and can form attribute expresstion for a tag. This property is not supported when 'Preserve Order' is set because attributes are already grouped. |
| CDATA Property Name | text | To recognize CDATA properties in a JSON object so that they can be transformed correcty. |
| Comment Property Name | text | To recognize comments in a JSON object so that they can be transformed correcty. |
| Format | toggle | By default, parsed XML is single line XML string. By settingh 'Format', you can format it for better view. |
| Ignore Attributes | toggle | Don't consider attributes while building XML. Other attributes related properties should be set to correctly identifying an attribute property. |
| Indentation | number | Applicable only if 'Format' is set. |
| Preserve Order | toggle | Preserve order. |
| Process Entities | toggle | Process default and DOCTYPE entites. |
| Stop Nodes | text | Comma separated list of JSON paths to properties that will be skipped from processing. |
| Suppress Boolean Attributes | toggle | Set to parse attributes without their value. |
| Suppress Empty Node | toggle | Set if you want tags with no text value to be parsed as empty tags. |
| Suppress Unpaired Node | toggle | Set if you want suppress unpaired tags e.g. from <br/> to <br>. |
| Text Node Name | text | To recognize text value for a tag in the JSON object so that they can be properly assigned to the tag. |
| Unpaired Tags | text | Unpaired Tags are the tags which don't have a matching closing tag. Eg <br> in HTML. Parse unpaired tags by providing their comma separated list. |
| Field | Type | Description |
|---|---|---|
| XML | - |