Get JSON Integer Value

The command is using JSON Pointer to locate the specified JSON member. If found and the value is a numeric string, then, the command returns the member’s value as an integer.

Input Arguments

 

0

Integer

JSON File Handle

The handle to the opened JSON file is returned by the “Open JSON File” MP command.

1

String

JSON Pointer

JSON pointer to the desired JSON element. For

example, /data/2/attributes/X

 

Return Arguments

 

1

String

String Value

Returns a JSON element double value. For ex- ample, /data/0/id will return 1.

 

Returned Status

 

SUCCESS

The file was parsed successfully.

FAILURE

The File or Pointer could not be found.

 

Remarks

None.