This project has moved and is read-only. For the latest updates, please go here.

Method : of_find_entries


lnv_json.of_find_entries( as_object, as_pair_name, as_pair_value )


Name Type Description
lnv_json n_cst_json an instance of n_cst_json class
as_object string The JSON object's name to be found
as_pair_name string The JSON Pair's name to be found
al_entries[] long The long array variable that will holds entries found (by ref)


Type Value Description
long >0 The number of entries found
0 No entry found
-1 An error occurs


Find all instances of specified Object's Pair
n_cst_json lnv_json
long	ll_found_entries[]
long	ll_index, ll_limit
ll_limit = lnv_json.of_find_entries(  "PowerBuilder", "Major Version", ll_found_entries )
if ll_limit < 1 then return -1

for ll_index = 1 to ll_limit

Last edited Jul 1, 2014 at 11:18 AM by domangep, version 1


No comments yet.