get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/1.1/patches/2219012/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2219012,
    "url": "http://patchwork.ozlabs.org/api/1.1/patches/2219012/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/hostap/patch/20260402095356.1401176-2-allen.ye@mediatek.com/",
    "project": {
        "id": 22,
        "url": "http://patchwork.ozlabs.org/api/1.1/projects/22/?format=api",
        "name": "HostAP Development",
        "link_name": "hostap",
        "list_id": "hostap.lists.infradead.org",
        "list_email": "hostap@lists.infradead.org",
        "web_url": "",
        "scm_url": "",
        "webscm_url": ""
    },
    "msgid": "<20260402095356.1401176-2-allen.ye@mediatek.com>",
    "date": "2026-04-02T09:53:50",
    "name": "[v11,1/7] JSON: Add double type support",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "1629c120b3f4be1d28c19d7ad6641ddd1015c967",
    "submitter": {
        "id": 86975,
        "url": "http://patchwork.ozlabs.org/api/1.1/people/86975/?format=api",
        "name": "Allen Ye",
        "email": "Allen.Ye@mediatek.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/hostap/patch/20260402095356.1401176-2-allen.ye@mediatek.com/mbox/",
    "series": [
        {
            "id": 498460,
            "url": "http://patchwork.ozlabs.org/api/1.1/series/498460/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/hostap/list/?series=498460",
            "date": "2026-04-02T09:53:56",
            "name": "Introduce Automated Frequency Coordination (AFC) support",
            "version": 11,
            "mbox": "http://patchwork.ozlabs.org/series/498460/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2219012/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2219012/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "\n <hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org>",
        "X-Original-To": "incoming@patchwork.ozlabs.org",
        "Delivered-To": "patchwork-incoming@legolas.ozlabs.org",
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (2048-bit key;\n secure) header.d=lists.infradead.org header.i=@lists.infradead.org\n header.a=rsa-sha256 header.s=bombadil.20210309 header.b=Y76m8Cfd;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n unprotected) header.d=mediatek.com header.i=@mediatek.com header.a=rsa-sha256\n header.s=dk header.b=f963gR/x;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=none (no SPF record) smtp.mailfrom=lists.infradead.org\n (client-ip=2607:7c80:54:3::133; helo=bombadil.infradead.org;\n envelope-from=hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org;\n receiver=patchwork.ozlabs.org)"
        ],
        "Received": [
            "from bombadil.infradead.org (bombadil.infradead.org\n [IPv6:2607:7c80:54:3::133])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fmcfV4q36z1yGY\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 20:55:12 +1100 (AEDT)",
            "from localhost ([::1] helo=bombadil.infradead.org)\n\tby bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1w8Ekq-0000000HJxN-22JI;\n\tThu, 02 Apr 2026 09:54:24 +0000",
            "from mailgw02.mediatek.com ([216.200.240.185])\n\tby bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux))\n\tid 1w8Ekk-0000000HJwZ-3ejN\n\tfor hostap@lists.infradead.org;\n\tThu, 02 Apr 2026 09:54:20 +0000",
            "from mtkmbs10n2.mediatek.inc [(172.21.101.183)] by\n mailgw02.mediatek.com\n\t(envelope-from <allen.ye@mediatek.com>)\n\t(musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384\n 256/256)\n\twith ESMTP id 264315624; Thu, 02 Apr 2026 02:54:12 -0700",
            "from mtkmbs13n2.mediatek.inc (172.21.101.108) by\n mtkmbs10n1.mediatek.inc (172.21.101.34) with Microsoft SMTP Server\n (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id\n 15.2.2562.29; Thu, 2 Apr 2026 17:54:09 +0800",
            "from mtksitap99.mediatek.inc (10.233.130.16) by\n mtkmbs13n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id\n 15.2.2562.29 via Frontend Transport; Thu, 2 Apr 2026 17:54:09 +0800"
        ],
        "DKIM-Signature": [
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n\td=lists.infradead.org; s=bombadil.20210309; h=Sender:\n\tContent-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post:\n\tList-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:\n\tMessage-ID:Date:Subject:CC:To:From:Reply-To:Content-ID:Content-Description:\n\tResent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:\n\tList-Owner; bh=4KypektE0fo2/2nF1JmzeK7gZ8SgrUA0Jeg9AFy6vkg=; b=Y76m8CfdMzMvVL\n\thTniqk7afQLsMW1UdtVXcIjVdqapwjb6MAc/mR8KrW+vWyfIsOLWMmRYASjdjWCNQ1pqLgneiWMEI\n\tkjIckD9jf3zQUw0UNJxEOSNcYg9czEqHpHCi4YGh4hp4KjdJBun5CkKkadNerYAlReXCC2/pVSgty\n\tJLQHaYYsglqSirjdRn8+y8eSZZW4o/2BFPlYEiZ58dIbpN1wSzA68b6NHKBiGpX3RACCYTAcYF7ub\n\tSw4XXOpx/MH9u7dI8/FN0Cxn+VnTz1mfIHM1J8xhfcSqATn67PELWZWDKQo1jkcvTwN3W57cYX9Pc\n\tw6VkpmAzyCA3iv9qwazA==;",
            "v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed;\n d=mediatek.com; s=dk;\n\th=Content-Type:Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From;\n bh=9xakOE8LJf6eJNEeRRsda1Tteu5HbgNuuSU6Ul7ph8o=;\n\tb=f963gR/xEu+Eqm702BDJ06Ub7DYfmNv1VQnclqkeImKGrFDiWCHpk/A/rQneugMwgfhOONB98EWK8l5fHM7j4bx1Y5jyX6pvS+8LiVkbpvFw7uc+7NX8qYcEiv1HbsbYH04pAdeylz3+ZO8eNiUzNtKyq/BuRcC4kblfqtaCqcs=;"
        ],
        "X-UUID": [
            "e69fa6102e7911f1a6de359d7043e138-20260402",
            "e69fa6102e7911f1a6de359d7043e138-20260402"
        ],
        "X-CID-P-RULE": "Release_Ham",
        "X-CID-O-INFO": "VERSION:1.3.12,REQID:abb5e702-2f17-4bcf-9b4c-f15bcfb1ec44,IP:0,U\n\tRL:0,TC:0,Content:0,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION:\n\trelease,TS:0",
        "X-CID-META": "VersionHash:e7bac3a,CLOUDID:60f26dd5-060f-4ecc-9ee0-121eeeb4a682,B\n\tulkID:nil,BulkQuantity:0,Recheck:0,SF:81|82|102|836|865|888|898,TC:-5,Cont\n\tent:0|15|50,EDM:-3,IP:nil,URL:0,File:130,RT:0,Bulk:nil,QS:nil,BEC:-1,COL:0\n\t,OSI:0,OSA:0,AV:0,LES:1,SPR:NO,DKR:0,DKP:0,BRR:0,BRE:0,ARC:0",
        "X-CID-BVR": "2,SSN|SDN",
        "X-CID-BAS": "2,SSN|SDN,0,_",
        "X-CID-FACTOR": "TF_CID_SPAM_SNR",
        "X-CID-RHF": "D41D8CD98F00B204E9800998ECF8427E",
        "From": "Allen Ye <allen.ye@mediatek.com>",
        "To": "Jouni Malinen <j@w1.fi>",
        "CC": "<hostap@lists.infradead.org>, Felix Fietkau <nbd@nbd.name>, Evelyn Tsai\n\t<evelyn.tsai@mediatek.com>, \"Mark-MC . Lee\" <mark-mc.lee@mediatek.com>, Tarun\n Radhakrishnan <tarun.r@tataelxsi.co.in>, Allen Ye <allen.ye@mediatek.com>",
        "Subject": "[PATCH v11 1/7] JSON: Add double type support",
        "Date": "Thu, 2 Apr 2026 17:53:50 +0800",
        "Message-ID": "<20260402095356.1401176-2-allen.ye@mediatek.com>",
        "X-Mailer": "git-send-email 2.45.2",
        "In-Reply-To": "<20260402095356.1401176-1-allen.ye@mediatek.com>",
        "References": "<20260402095356.1401176-1-allen.ye@mediatek.com>",
        "MIME-Version": "1.0",
        "X-MTK": "N",
        "X-CRM114-Version": "20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 ",
        "X-CRM114-CacheID": "sfid-20260402_025418_919726_1037DD32 ",
        "X-CRM114-Status": "GOOD (  20.22  )",
        "X-Spam-Score": "-2.1 (--)",
        "X-Spam-Report": "Spam detection software,\n running on the system \"bombadil.infradead.org\",\n has NOT identified this incoming email as spam.  The original\n message has been attached to this so you can view it or label\n similar future email.  If you have any questions, see\n the administrator of that system for details.\n Content preview:  Add support for the 'double' type to the JSON parser. This\n    is required by the AFC feature to handle floating-point values such as\n geolocation,\n    Power Spectral Density (PSD) and EIRP in its JSON communi [...]\n Content analysis details:   (-2.1 points, 5.0 required)\n  pts rule name              description\n ---- ----------------------\n --------------------------------------------------\n -0.0 SPF_PASS               SPF: sender matches SPF record\n -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record\n  0.1 DKIM_SIGNED            Message has a DKIM or DK signature,\n not necessarily valid\n -0.1 DKIM_VALID_EF          Message has a valid DKIM or DK signature from\n                             envelope-from domain\n -0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from\n author's\n                             domain\n -0.1 DKIM_VALID             Message has at least one valid DKIM or DK\n signature\n -1.9 BAYES_00               BODY: Bayes spam probability is 0 to 1%\n                             [score: 0.0000]\n  0.0 RCVD_IN_VALIDITY_SAFE_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n                              Validity was blocked.  See\n                             https://knowledge.validity.com/hc/en-us/articles/20961730681243\n                              for more information.\n                             [216.200.240.185 listed in\n sa-accredit.habeas.com]\n  0.0 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED RBL: ADMINISTRATOR NOTICE: The\n                             query to Validity was blocked.  See\n                             https://knowledge.validity.com/hc/en-us/articles/20961730681243\n                              for more information.\n                        [216.200.240.185 listed in\n sa-trusted.bondedsender.org]\n  0.0 RCVD_IN_VALIDITY_RPBL_BLOCKED RBL: ADMINISTRATOR NOTICE: The query to\n                              Validity was blocked.  See\n                             https://knowledge.validity.com/hc/en-us/articles/20961730681243\n                              for more information.\n                           [216.200.240.185 listed in\n bl.score.senderscore.com]\n  0.0 UNPARSEABLE_RELAY      Informational: message has unparseable relay\n lines",
        "X-BeenThere": "hostap@lists.infradead.org",
        "X-Mailman-Version": "2.1.34",
        "Precedence": "list",
        "List-Id": "<hostap.lists.infradead.org>",
        "List-Unsubscribe": "<http://lists.infradead.org/mailman/options/hostap>,\n <mailto:hostap-request@lists.infradead.org?subject=unsubscribe>",
        "List-Archive": "<http://lists.infradead.org/pipermail/hostap/>",
        "List-Post": "<mailto:hostap@lists.infradead.org>",
        "List-Help": "<mailto:hostap-request@lists.infradead.org?subject=help>",
        "List-Subscribe": "<http://lists.infradead.org/mailman/listinfo/hostap>,\n <mailto:hostap-request@lists.infradead.org?subject=subscribe>",
        "Content-Type": "text/plain; charset=\"us-ascii\"",
        "Content-Transfer-Encoding": "7bit",
        "Sender": "\"Hostap\" <hostap-bounces@lists.infradead.org>",
        "Errors-To": "hostap-bounces+incoming=patchwork.ozlabs.org@lists.infradead.org"
    },
    "content": "Add support for the 'double' type to the JSON parser. This is required\nby the AFC feature to handle floating-point values such as geolocation,\nPower Spectral Density (PSD) and EIRP in its JSON communication.\n\nSigned-off-by: Allen Ye <allen.ye@mediatek.com>\n---\n src/utils/json.c | 137 +++++++++++++++++++++++++++++++++++++++--------\n src/utils/json.h |   3 ++\n 2 files changed, 118 insertions(+), 22 deletions(-)",
    "diff": "diff --git a/src/utils/json.c b/src/utils/json.c\nindex 5523f284d..fce2940a8 100644\n--- a/src/utils/json.c\n+++ b/src/utils/json.c\n@@ -157,24 +157,74 @@ fail:\n }\n \n \n-static int json_parse_number(const char **json_pos, const char *end,\n-\t\t\t     int *ret_val)\n+static size_t json_get_number_len(const char *json_pos, const char *end,\n+\t\t\t\t  bool *is_double)\n {\n-\tconst char *pos = *json_pos;\n+\tconst char *pos = json_pos;\n \tsize_t len;\n-\tchar *str;\n \n \tfor (; pos < end; pos++) {\n-\t\tif (*pos != '-' && (*pos < '0' || *pos > '9')) {\n+\t\tswitch (*pos) {\n+\t\tcase '.':\n+\t\tcase 'e':\n+\t\tcase 'E':\n+\t\t\t*is_double = true;\n+\t\tcase '-':\n+\t\tcase '0':\n+\t\tcase '1':\n+\t\tcase '2':\n+\t\tcase '3':\n+\t\tcase '4':\n+\t\tcase '5':\n+\t\tcase '6':\n+\t\tcase '7':\n+\t\tcase '8':\n+\t\tcase '9':\n+\t\t\tcontinue;\n+\t\tdefault:\n \t\t\tpos--;\n \t\t\tbreak;\n \t\t}\n+\t\tbreak;\n \t}\n \tif (pos == end)\n \t\tpos--;\n-\tif (pos < *json_pos)\n+\tif (pos < json_pos)\n+\t\treturn 0;\n+\tlen = pos - json_pos + 1;\n+\n+\treturn len;\n+}\n+\n+\n+static int json_parse_double(const char **json_pos, size_t len,\n+\t\t\t     double *ret_val)\n+{\n+\tchar *str;\n+\tchar *endptr;\n+\n+\tstr = os_malloc(len + 1);\n+\tif (!str)\n+\t\treturn -1;\n+\tos_memcpy(str, *json_pos, len);\n+\tstr[len] = '\\0';\n+\n+\t*ret_val = strtod(str, &endptr);\n+\tif (endptr == str) {\n+\t\tos_free(str);\n \t\treturn -1;\n-\tlen = pos - *json_pos + 1;\n+\t}\n+\tos_free(str);\n+\t*json_pos += len - 1;\n+\treturn 0;\n+}\n+\n+\n+static int json_parse_number(const char **json_pos, size_t len,\n+\t\t\t     int *ret_val)\n+{\n+\tchar *str;\n+\n \tstr = os_malloc(len + 1);\n \tif (!str)\n \t\treturn -1;\n@@ -183,7 +233,7 @@ static int json_parse_number(const char **json_pos, const char *end,\n \n \t*ret_val = atoi(str);\n \tos_free(str);\n-\t*json_pos = pos;\n+\t*json_pos += len - 1;\n \treturn 0;\n }\n \n@@ -223,8 +273,11 @@ struct json_token * json_parse(const char *data, size_t data_len)\n \tconst char *pos, *end;\n \tchar *str;\n \tint num;\n+\tdouble dnum;\n+\tbool is_double;\n \tunsigned int depth = 0;\n \tunsigned int tokens = 0;\n+\tsize_t len;\n \n \tpos = data;\n \tend = data + data_len;\n@@ -421,33 +474,65 @@ struct json_token * json_parse(const char *data, size_t data_len)\n \t\tcase '8':\n \t\tcase '9':\n \t\t\t/* number */\n-\t\t\tif (json_parse_number(&pos, end, &num) < 0)\n+\t\t\tis_double = false;\n+\t\t\tlen = json_get_number_len(pos, end, &is_double);\n+\t\t\tif (!len)\n \t\t\t\tgoto fail;\n+\t\t\tif (is_double) {\n+\t\t\t\tif (json_parse_double(&pos, len, &dnum) < 0)\n+\t\t\t\t\tgoto fail;\n+\t\t\t} else {\n+\t\t\t\tif (json_parse_number(&pos, len, &num) < 0)\n+\t\t\t\t\tgoto fail;\n+\t\t\t}\n+\n \t\t\tif (!curr_token) {\n \t\t\t\ttoken = json_alloc_token(&tokens);\n \t\t\t\tif (!token)\n \t\t\t\t\tgoto fail;\n-\t\t\t\ttoken->type = JSON_NUMBER;\n-\t\t\t\ttoken->number = num;\n+\t\t\t\tif (is_double) {\n+\t\t\t\t\ttoken->dnumber = dnum;\n+\t\t\t\t\ttoken->type = JSON_DOUBLE;\n+\t\t\t\t} else {\n+\t\t\t\t\ttoken->number = num;\n+\t\t\t\t\ttoken->type = JSON_NUMBER;\n+\t\t\t\t}\n \t\t\t\ttoken->state = JSON_COMPLETED;\n \t\t\t} else if (curr_token->state == JSON_WAITING_VALUE) {\n-\t\t\t\tcurr_token->number = num;\n \t\t\t\tcurr_token->state = JSON_COMPLETED;\n-\t\t\t\tcurr_token->type = JSON_NUMBER;\n-\t\t\t\twpa_printf(MSG_MSGDUMP,\n-\t\t\t\t\t   \"JSON: Number value: '%s' = '%d'\",\n-\t\t\t\t\t   curr_token->name,\n-\t\t\t\t\t   curr_token->number);\n+\t\t\t\tif (is_double) {\n+\t\t\t\t\tcurr_token->dnumber = dnum;\n+\t\t\t\t\tcurr_token->type = JSON_DOUBLE;\n+\t\t\t\t\twpa_printf(MSG_MSGDUMP,\n+\t\t\t\t\t\t   \"JSON: Double value: '%s' = '%f'\",\n+\t\t\t\t\t\t   curr_token->name,\n+\t\t\t\t\t\t   curr_token->dnumber);\n+\t\t\t\t} else {\n+\t\t\t\t\tcurr_token->number = num;\n+\t\t\t\t\tcurr_token->type = JSON_NUMBER;\n+\t\t\t\t\twpa_printf(MSG_MSGDUMP,\n+\t\t\t\t\t\t   \"JSON: Number value: '%s' = '%d'\",\n+\t\t\t\t\t\t   curr_token->name,\n+\t\t\t\t\t\t   curr_token->number);\n+\t\t\t\t}\n \t\t\t} else if (curr_token->parent &&\n \t\t\t\t   curr_token->parent->type == JSON_ARRAY &&\n \t\t\t\t   curr_token->parent->state == JSON_STARTED &&\n \t\t\t\t   curr_token->state == JSON_EMPTY) {\n-\t\t\t\tcurr_token->number = num;\n \t\t\t\tcurr_token->state = JSON_COMPLETED;\n-\t\t\t\tcurr_token->type = JSON_NUMBER;\n-\t\t\t\twpa_printf(MSG_MSGDUMP,\n-\t\t\t\t\t   \"JSON: Number value: %d\",\n-\t\t\t\t\t   curr_token->number);\n+\t\t\t\tif (is_double) {\n+\t\t\t\t\tcurr_token->dnumber = dnum;\n+\t\t\t\t\tcurr_token->type = JSON_DOUBLE;\n+\t\t\t\t\twpa_printf(MSG_MSGDUMP,\n+\t\t\t\t\t\t   \"JSON: Double value: %f\",\n+\t\t\t\t\t\t   curr_token->dnumber);\n+\t\t\t\t} else {\n+\t\t\t\t\tcurr_token->number = num;\n+\t\t\t\t\tcurr_token->type = JSON_NUMBER;\n+\t\t\t\t\twpa_printf(MSG_MSGDUMP,\n+\t\t\t\t\t\t   \"JSON: Number value: %d\",\n+\t\t\t\t\t\t   curr_token->number);\n+\t\t\t\t}\n \t\t\t} else {\n \t\t\t\twpa_printf(MSG_DEBUG,\n \t\t\t\t\t   \"JSON: Invalid state for a number\");\n@@ -564,6 +649,8 @@ static const char * json_type_str(enum json_type type)\n \t\treturn \"STRING\";\n \tcase JSON_NUMBER:\n \t\treturn \"NUMBER\";\n+\tcase JSON_DOUBLE:\n+\t\treturn \"DOUBLE\";\n \tcase JSON_BOOLEAN:\n \t\treturn \"BOOLEAN\";\n \tcase JSON_NULL:\n@@ -607,6 +694,12 @@ void json_add_int(struct wpabuf *json, const char *name, int val)\n }\n \n \n+void json_add_double(struct wpabuf *json, const char *name, double val)\n+{\n+\twpabuf_printf(json, \"\\\"%s\\\":%f\", name, val);\n+}\n+\n+\n void json_add_string(struct wpabuf *json, const char *name, const char *val)\n {\n \twpabuf_printf(json, \"\\\"%s\\\":\\\"%s\\\"\", name, val);\ndiff --git a/src/utils/json.h b/src/utils/json.h\nindex 8448bb0c5..c1b8abd78 100644\n--- a/src/utils/json.h\n+++ b/src/utils/json.h\n@@ -16,6 +16,7 @@ struct json_token {\n \t\tJSON_ARRAY,\n \t\tJSON_STRING,\n \t\tJSON_NUMBER,\n+\t\tJSON_DOUBLE,\n \t\tJSON_BOOLEAN,\n \t\tJSON_NULL,\n \t} type;\n@@ -28,6 +29,7 @@ struct json_token {\n \tchar *name;\n \tchar *string;\n \tint number;\n+\tdouble dnumber;\n \tstruct json_token *parent, *child, *sibling;\n };\n \n@@ -41,6 +43,7 @@ struct wpabuf * json_get_member_base64(struct json_token *json,\n \t\t\t\t       const char *name);\n void json_print_tree(struct json_token *root, char *buf, size_t buflen);\n void json_add_int(struct wpabuf *json, const char *name, int val);\n+void json_add_double(struct wpabuf *json, const char *name, double val);\n void json_add_string(struct wpabuf *json, const char *name, const char *val);\n int json_add_string_escape(struct wpabuf *json, const char *name,\n \t\t\t   const void *val, size_t len);\n",
    "prefixes": [
        "v11",
        "1/7"
    ]
}