<< Click to Display Table of Contents >> Navigation: ThinBASIC Modules > cJSON > CJSon low level interface > cJSON_GetObjectItem |
Description
Returns a cJSON item whose name is sItemName from a cJSON object.
Syntax
cJSON Ptr = cJSON_GetObjectItem(cJSON Ptr, sItemName)
Returns
Number: a pointer to a cJSON structure.
Zero means error
Parameters
Name |
Type |
Optional |
Meaning |
cJSON |
UDT Ptr |
No |
A pointer to a cJSON data structure |
sItemName |
String |
No |
Name of the item to be found inside cJSON object |
Remarks
This function is Case Insensitive regarding sItemName
Restrictions
See also
Examples