CreateJsonObject
PowerScript function
Description
Creates the object of JsonObjectItem type as root item to initialize
instance.
Applies to
Syntax
1 |
objectname.CreateJsonObject ( ) |
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 creates the JSON root item of object type:
1 2 3 4 5 6 7 8 |
JsonGenerator lnv_JsonGenerator Long ll_RootObject lnv_JsonGenerator = Create JsonGenerator ll_RootObject = lnv_JsonGenerator.CreateJsonObject() if ll_RootObject <> -1 then ... end if |
See also
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest