3
0
mirror of https://git.kernel.org/pub/scm/network/wireless/iwd.git synced 2024-11-21 22:09:23 +01:00

json: fix comment typo, "json_object_is_valid"

This should be json_iter_is_valid.
This commit is contained in:
James Prestwood 2023-11-17 06:12:27 -08:00 committed by Denis Kenzior
parent 4b147217ac
commit cac10b52fc

View File

@ -85,7 +85,7 @@ void json_iter_init(struct json_iter *iter, struct json_contents *c);
* other types are encountered.
*
* JSON_OPTIONAL string values will point to NULL if not found
* JSON_OPTIONAL objects/primitives can be checked with json_object_is_valid.
* JSON_OPTIONAL objects/primitives can be checked with json_iter_is_valid.
*/
bool json_iter_parse(struct json_iter *iter, enum json_type type, ...);