Home | History | Annotate | Download | only in base

Lines Matching defs:json

350     } else if (strstr(dbtype, "json")) {
1214 *error = heim_error_create(ret, N_("Could not open JSON file %s: %s", ""),
1234 *error = heim_error_create(ret, N_("Could not open JSON file %s: %s", ""),
1249 (errno, N_("Could not lock JSON file %s: %s", ""),
1277 (ret, N_("Could not stat JSON DB %s: %s", ""),
1299 (ret, N_("Could not read JSON DB %s: %s", ""),
1332 if (dbtype && *dbtype && strcmp(dbtype, "json"))
1340 if (ext == NULL || strcmp(ext, ".json") != 0)
1342 (EINVAL, N_("JSON DB files must end in .json",
1357 (EINVAL, N_("Invalid JSON DB open options",
1409 (EINVAL, N_("JSON DB contents not valid JSON",
1504 heim_string_t json;
1514 json = heim_json_copy_serialize(jsondb->dict, 0, &e);
1515 if (json == NULL) {
1523 json_text = heim_string_get_utf8(json);
1535 heim_release(json);
1543 heim_release(json);
1580 (EINVAL, N_("JSON DB requires keys that are actually "
1587 (errno, N_("Could not stat JSON DB file", "")));
1635 N_("JSON DB requires keys that are actually strings",
1665 N_("JSON DB requires keys that are actually strings",