ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

New WINDEV and WEBDEV 2024 feature!
Help / WLanguage / WLanguage functions / Controls, pages and windows / TreeView Table functions
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 the contents of a Table or TreeView Table control to a JSON string.
Example
s is string
s = TableToJSON(TVT_Orders)
fSaveText("export_orders.json", s)
Syntax
<Result> = TableToJSON(<Table control> [, <Option>])
<Result>: Character string
JSON string corresponding to the contents of the TreeView Table control.
<Table control>: Control name
Name of the Table or TreeView Table control used.
<Option>: Optional Integer constant
Configuration of the generated JSON content:
  • If this parameter is not specified, the generated JSON content will not be formatted.
  • If this parameter is the jsonFormatting constant, the generated JSON content will be formatted.
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 2024
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/07/2024

Send a report | Local help