PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Converts a JSON string into a JSON variable.
Versions 27 and later
PHP This function is now available for WEBDEV sites in PHP.
New in version 27
PHP This function is now available for WEBDEV sites in PHP.
PHP This function is now available for WEBDEV sites in PHP.
Example
sJZon is ANSI string = [
{
"glossary": {
"title": "example glossary",
"GlossDiv": {
"title": "S",
"GlossList": {
"GlossEntry": {
"ID": "SGML",
"SortAs": "SGML",
"GlossTerm": "Standard Generalized Markup Language",
"Acronym": "SGML",
"Abbrev": "ISO 8879:1986",
"GlossDef": {
"para": "A meta-markup language, used to create markup languages such as DocBook.",
"GlossSeeAlso": ["GML", "XML"]
},
"GlossSee": "markup"
}
}
}
}
}
]
 
jz is JSON = StringToJSON(sJZon)
Syntax
<Result> = StringToJSON(<JSON string>)
<Result>: JSON variable
JSON variable that contains the result of the conversion.
In case of failure, the ErrorOccurred variable is set to True and ErrorInfo returns the details of the error.
<JSON string>: Character string
Character string containing the data in JSON format.
Component: wd270vm.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment