MCPcopy Create free account
hub / github.com/acl-dev/acl / parse2

Function parse2

app/gson/test/parse6/main.cpp:38–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38static void parse2(const char* s)
39{
40 acl::json json;
41 json.update(s);
42
43 if (json.finish() && json.to_string() == s) {
44 printf("parse |%s||%s| ok\r\n", s, json.to_string().c_str());
45 } else {
46 printf("parse |%s| error\r\n", s);
47 }
48}
49
50static void test(void)
51{

Callers 1

testFunction · 0.85

Calls 4

updateMethod · 0.45
finishMethod · 0.45
to_stringMethod · 0.45
c_strMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…