Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenIPC/firmware
/ cJSON_GetStringValue
Function
cJSON_GetStringValue
general/package/xmdp/src/cjson/cJSON.c:95–103 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
93
}
94
95
CJSON_PUBLIC(char *) cJSON_GetStringValue(cJSON *item)
96
{
97
if (!cJSON_IsString(item))
98
{
99
return NULL;
100
}
101
102
return item->valuestring;
103
}
104
105
CJSON_PUBLIC(double) cJSON_GetNumberValue(cJSON *item)
106
{
Callers
1
cJSON.h
File · 0.85
Calls
1
cJSON_IsString
Function · 0.85
Tested by
no test coverage detected