Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Plain JSON – PB Docs 2019 – PowerBuilder Library

Plain JSON – PB Docs 2019

Plain JSON

A plain JSON follows the industry standard JSON format (as
specified in https://www.json.org) and has
one of the following structures depending on the actual export/import
scenario.

A plain JSON can only contain elements of the following 4 data
types: integer, string, boolean, and null.

One-level structure

A one-level plain JSON string must have only one level (cannot
be two or more) and must be an object (cannot be an array).

This format is supported by the following methods (For all
formats supported by a particular method, see Applicable methods):

Object

Method

DataWindow ImportRowFromJSON, ExportRowAsJson
RESTClient RetrieveOne

Here is an example of a one-level plain JSON string:

Two-level structure

A two-level plain JSON must have its top-level as an array and
the second-level as object(s) which represent a row of data.

This format is supported by the following methods (For all
formats supported by a particular method, see Applicable methods):

Object

Method

DataWindow ImportJson, ImportJsonByKey, ExportJson
JSONPackage GetValueToDataWindow, SetValueByDataWindow
RESTClient Retrieve, RetrieveOne, Submit

Here is an example of a two-level plain JSON string:


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