PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

New WINDEV, WEBDEV, WINDEV Mobile 25 feature!
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Converts the content of a JSON variable to a JSON string.
Example
Person is JSON
Person.LastName = "MOORE"
Person.FirstName = "Vince"
// Displays: { "LastName":"MOORE", "FirstName":"Vince" }
Trace(JSONToString(Person))
Syntax
<Result> = JSONToString(<JSON variable> [, <Options>])
<Result>: Character string
JSON string resulting from the conversion of the JSON variable.
In case of failure, the ErrorOccurred variable is set to True and ErrorInfo returns the error details.
<JSON variable>: JSON variable
Name of the JSON variable that will be converted into a JSON string.
<Options>: Optional integer
JSON string formatting option:
psdMinifiedGenerates a minified JSON string, without carriage returns or spacing characters.
psdFormattingGenerates a JSON string with carriage returns and indentation.
Component : wd250vm.dll
Minimum version required
  • Version 25
This page is also available for…
Comments
Click [Add] to post a comment