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

Function json_parse_value_len

tinyemu/json.c:454–464  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454JSONValue json_parse_value_len(const char *p, int len)
455{
456 char *str;
457 JSONValue val;
458 str = malloc(len + 1);
459 memcpy(str, p, len);
460 str[len] = '\0';
461 val = json_parse_value(str);
462 free(str);
463 return val;
464}

Callers 3

json_loadFunction · 0.85
bf_init_onloadFunction · 0.85

Calls 1

json_parse_valueFunction · 0.85

Tested by

no test coverage detected