MCPcopy Create free account
hub / github.com/ading2210/linuxpdf / json_object_get2

Function json_object_get2

tinyemu/json.c:96–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96static JSONProperty *json_object_get2(JSONObject *obj, const char *name)
97{
98 JSONProperty *f;
99 int i;
100 for(i = 0; i < obj->len; i++) {
101 f = &obj->props[i];
102 if (!strcmp(f->name.u.str->data, name))
103 return f;
104 }
105 return NULL;
106}
107
108JSONValue json_object_get(JSONValue val, const char *name)
109{

Callers 2

json_object_getFunction · 0.85
json_object_setFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected