json_getstr
char *json_getstr(struct jsmnn *, const char *);
if ((resp = json_getstr(n, "status")) == NULL)
type = json_getstr(obj, "type");
p->uri = json_getstr(obj, "url");
p->token = json_getstr(obj, "token");
p->error = json_getstr(error, "detail");
if ((status = json_getstr(n, "status")) == NULL)
if ((finalize = json_getstr(n, "finalize")) == NULL) {
if ((certificate = json_getstr(n, "certificate")) != NULL) {
p->newaccount = json_getstr(n, "newAccount");
p->newnonce = json_getstr(n, "newNonce");
p->neworder = json_getstr(n, "newOrder");
p->revokecert = json_getstr(n, "revokeCert");
type = json_getstr(j, "type");
detail = json_getstr(j, "detail");