Home
last modified time | relevance | path

Searched refs:cJSON_AddStringToObject (Results 1 – 6 of 6) sorted by relevance

/third_party/cJSON/
Dtest.c171 cJSON_AddStringToObject(fmt, "type", "rect"); in create_objects()
213 cJSON_AddStringToObject(img, "Title", "View from 15th Floor"); in create_objects()
215 cJSON_AddStringToObject(thm, "Url", "http:/*www.example.com/image/481989943"); in create_objects()
217 cJSON_AddStringToObject(thm, "Width", "100"); in create_objects()
231 cJSON_AddStringToObject(fld, "precision", fields[i].precision); in create_objects()
234 cJSON_AddStringToObject(fld, "Address", fields[i].address); in create_objects()
235 cJSON_AddStringToObject(fld, "City", fields[i].city); in create_objects()
236 cJSON_AddStringToObject(fld, "State", fields[i].state); in create_objects()
237 cJSON_AddStringToObject(fld, "Zip", fields[i].zip); in create_objects()
238 cJSON_AddStringToObject(fld, "Country", fields[i].country); in create_objects()
DcJSON.h269 CJSON_PUBLIC(cJSON*) cJSON_AddStringToObject(cJSON * const object, const char * const name, const c…
DREADME.md445 if (cJSON_AddStringToObject(monitor, "name", "Awesome 4K") == NULL)
DcJSON.c2144 CJSON_PUBLIC(cJSON*) cJSON_AddStringToObject(cJSON * const object, const char * const name, const c… in cJSON_AddStringToObject() function
/third_party/cJSON/tests/
Dcjson_add.c286 cJSON_AddStringToObject(root, "string", "Hello World!"); in cjson_add_string_should_add_string()
299 TEST_ASSERT_NULL(cJSON_AddStringToObject(NULL, "string", "string")); in cjson_add_string_should_fail_with_null_pointers()
300 TEST_ASSERT_NULL(cJSON_AddStringToObject(root, NULL, "string")); in cjson_add_string_should_fail_with_null_pointers()
311 TEST_ASSERT_NULL(cJSON_AddStringToObject(root, "string", "string")); in cjson_add_string_should_fail_on_allocation_failure()
Dreadme_examples.c130 if (cJSON_AddStringToObject(monitor, "name", "Awesome 4K") == NULL) in create_monitor_with_helpers()