CreateJsonObject – PB Docs 2022

CreateJsonObject

PowerScript function

Description

Creates the object of JsonObjectItem type as root item to initialize
instance.

Applies to

JSONGenerator objects

Syntax

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:

See also

CreateJsonArray


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x