Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Converts JSON to XML.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
JSON | 10.3 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
json | A JSON text or reference. | {"key": "value"} | |
RootNodeName | The root node name to use. | "test" | Optional |
Returns XML text or error.
Convert some JSON:
MBS( "JSON.ToXML"; "{\"first\": \"Peter\", \"age\": 38}"; "test" )
Example result:
<?xml version="1.0" encoding="UTF-8"?>
<test>
<first>Peter</first>
<age>38</age>
</test>
This function checks for a license.
Created 20th June 2020, last changed 4th September 2020