Method : of_get_values


lnv_json.of_get_values( as_object, as_pair_name, as_value )


Name Type Description
lnv_json n_cst_json an instance of n_cst_json class
as_object string The name of the JSON object that contain the pair's value to get
as_pair_name string The name of the Pair value to get its value
as_values string The string variable array that will holds the pair's values (by ref)


Type Value Description
long 1 Ok
-1 An error occurs


Get the values of a specified unique JSON Object's pair of ARRAY kind
n_cst_json lnv_json
string ls_coordinates[]
integer li_rc
li_rc = lnv_json.of_get_values( "Rectangle", "R1", ls_coordinates )
if li_rc = -1 then return -1

Last edited Nov 3, 2014 at 8:50 PM by domangep, version 1


No comments yet.