Method : of_get_values

Signature

lnv_json.of_get_values( as_object, as_pair_name, as_value )

Where

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)

Return

Type Value Description
long 1 Ok
-1 An error occurs

Usages

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 7:50 PM by domangep, version 1

Comments

No comments yet.