MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / json_member

Method json_member

common/peg-parser.cpp:1449–1458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1447}
1448
1449common_peg_parser common_peg_parser_builder::json_member(const std::string & key, const common_peg_parser & p) {
1450 auto ws = space();
1451 return sequence({
1452 literal("\"" + key + "\""),
1453 ws,
1454 literal(":"),
1455 ws,
1456 p,
1457 });
1458}
1459
1460static std::string gbnf_escape_char_class(uint32_t c) {
1461 if (c == '-' || c == ']' || c == '[' || c == '\\') {

Callers 2

test_json_parserFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_json_parserFunction · 0.64