Working with JSON data

The following set of functions have been implemented to access JSON data:

ibec_json_ParseParses a text which contains JSON data. Returns pointer to a root node of JSON tree.
ibec_json_FreeDestroys a JSON object created with ibec_json_Parse function.
ibec_json_SelectNodeSelects a node using its name/path/index relatively to specified JSON node.
ibec_json_NodeTypeReturns the type of the specified JSON node.
ibec_json_GetNodeValueReturns the value of specified JSON node.
ibec_json_GetNodeNameReturns name of specified node.
ibec_json_ChildCountReturns number of child nodes for specified node.
JSON namespaceAll JSON functions and constants also available via namespace JSON.

Example

See JSON example

back to top of page
<< ibec_ds_Sort | IBEBlock | ibec_JsonToXML >>