|
|
|
|
|
JSONToXML (Function) In french: JSONVersXML Converts a JSON string to XML. let json = StringToJSON("
{ "nom" : "TestName"
,"id" : 2
,"vrai" : "True"
,"liste" : [5,5,6,2,47]
}
")
let xml = JSONToXML(json)
Trace(xml..XMLSource)
Syntax
<Result> = JSONToXML(<JSON to convert> [, <Converter>])
<Result>: xmlNode variable xmlNode variable that corresponds to the converted JSON string. <JSON to convert>: JSON variable Name of the JSON variable to be converted. <Converter>: Optional JSONXMLConverter variable
Name of the JSONXMLConverter variable that corresponds to the custom conversion standard to be applied. Warning: This customization requires a good knowledge of XML. If this parameter is not specified, a default standard will be imposed during conversion: the default values of the JSONXMLConverter type variable are used.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|