in lib/parson.c [2183:2193]
JSON_Status json_object_dotset_string(JSON_Object *object, const char *name, const char *string) {
JSON_Value *value = json_value_init_string(string);
if (value == NULL) {
return JSONFailure;
}
if (json_object_dotset_value(object, name, value) != JSONSuccess) {
json_value_free(value);
return JSONFailure;
}
return JSONSuccess;
}