MCPcopy Create free account
hub / github.com/antirez/ds4 / json_number

Function json_number

ds4_server.c:271–279  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

269 break;
270 }
271 default:
272 goto fail;
273 }
274 }
275 if (**p != '"') goto fail;
276 (*p)++;
277 *out = buf_take(&b);
278 return true;
279fail:
280 buf_free(&b);
281 return false;
282}

Callers 6

json_intFunction · 0.85
json_skip_value_depthFunction · 0.85
parse_chat_requestFunction · 0.85
parse_anthropic_requestFunction · 0.85
parse_responses_requestFunction · 0.85
parse_completion_requestFunction · 0.85

Calls 1

json_wsFunction · 0.85

Tested by

no test coverage detected