This project has moved. For the latest updates, please go here.

Method : of_get_objects

Signature

lnv_json.of_get_object( as_objects[] )

Where

Name Type Description
lnv_json n_cst_json an instance of n_cst_json class
as_objects[] string The string array that will holds the objects list (by ref)

Return

Type Value Description
long >0 The number of returned objects, or
-1 if An error occurs

Usages

Get the list of all JSON objects defined in the repository
n_cst_json lnv_json
string	ls_objects[]
long	ll_index, ll_limit
...
ll_limit = lnv_json.of_get_objects( ls_objects )
if ll_limit < 1 then return -1
for ll_index = 1 to ll_limit
...
next

Last edited Jul 2, 2014 at 9:11 PM by domangep, version 1

Comments

No comments yet.