MCPcopy Create free account
hub / github.com/DaveGamble/cJSON / parse_object_should_not_parse_non_objects

Function parse_object_should_not_parse_non_objects

tests/parse_object.c:154–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

152}
153
154static void parse_object_should_not_parse_non_objects(void)
155{
156 assert_not_object("");
157 assert_not_object("{");
158 assert_not_object("}");
159 assert_not_object("[\"hello\",{}]");
160 assert_not_object("42");
161 assert_not_object("3.14");
162 assert_not_object("\"{}hello world!\n\"");
163}
164
165int CJSON_CDECL main(void)
166{

Callers

nothing calls this directly

Calls 1

assert_not_objectFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…