ExportToJSONFile
PowerScript function
Description
Saves the RibbonBar content to a JSON file. The ECMA-404 JSON
standard is supported.
Applies to
RibbonBar controls
Syntax
|
1 |
controlname.ExportToJSONFile ( String FileName {, Encoding encoding }) |
|
Argument |
Description |
|---|---|
|
FileName |
The file path and file name where the JSON file will be |
|
encoding (optional) |
Character encoding of the file to which the data is saved. Values are:
|
Return value
Integer.
1 – Successful.
-1 – An error occurs.
-2 – Failed to load library.
-3 – The specified file does not exist.
If any argument’s value is null, returns null.
Examples
|
1 2 |
Integer li_return li_return = rbb_1.ExportToJSONFile ("Export1.json", EncodingUTF8!) |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest