CreateJsonArray
PowerScript function
Description
Creates the array of JsonArrayItem type as root item to initialize
instance.
Applies to
Syntax
|
1 |
objectname.CreateJsonArray ( ) |
|
Argument |
Description |
|---|---|
|
objectname |
Reference to the JSONGenerator object instance. |
Return value
Long.
Returns the root item handle if it succeeds and -1 if an error
occurs.
Examples
This example create the JSON root item of array type:
|
1 2 3 4 5 6 7 8 |
JsonGenerator lnv_JsonGenerator Long ll_RootArray lnv_JsonGenerator = Create JsonGenerator ll_RootArray = lnv_JsonGenerator.CreateJsonArray() if ll_RootArray <> -1 then ... end if |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest