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

Method : of_get_pair


lnv_json.of_get_pair( as_object, as_pair_name, astr_pair )


Name Type Description
lnv_json n_cst_json an instance of n_cst_json class
as_objects[] string The name of the JSON object that contain the aspairname
as_pair_name string The name of the Pair value to get its value
astr_pair s_json_attrib The s_json_attrib variable that will hold the result (by ref)


Type Value Description
integer 1 Ok
-1 An error occurs


Get the content of a specified JSON Object's pair
n_cst_json lnv_json
s_json_attrib lstr_pair
integer li_rc
li_rc = lnv_json.of_get_pair( "Window","X", lstr_pair )
if li_rc = -1 then return -1

Last edited Jul 2, 2014 at 10:27 PM by domangep, version 1


No comments yet.