meta data for this page
  •  

ibec_json_SelectNode

Selects a node using its name/path/index relatively to the specified JSON node.

Syntax

 function ibec_json_Selec||tNode(JSONNode : variant; Expression : variant; Options : integer) : variant;

If jsonSearchByName or jsonSearchByIndex are not specified, searching will be performed depending of the type of the Expression. If the Expression is of a string type - searching by name will be performed. If it is of an integer type - searching by index will be performed.

Function returns a pointer to the selected node or NULL if the node is not found.

Example