Lines Matching defs:json
13 #include "json.h"
479 void json_free(struct json_token *json)
481 if (!json)
483 json_free(json->child);
484 json_free(json->sibling);
485 os_free(json->name);
486 os_free(json->string);
487 os_free(json);
491 struct json_token * json_get_member(struct json_token *json, const char *name)
495 if (!json || json->type != JSON_OBJECT)
498 for (token = json->child; token; token = token->sibling) {
506 struct wpabuf * json_get_member_base64url(struct json_token *json,
514 token = json_get_member(json, name);