diff mbox series

[4/4] json: fix comment typo, "json_object_is_valid"

Message ID 20231117141227.60722-4-prestwoj@gmail.com (mailing list archive)
State Accepted, archived
Headers show
Series [1/4] dpp-util: add support for 3rd party JSON fields | expand

Commit Message

James Prestwood Nov. 17, 2023, 2:12 p.m. UTC
This should be json_iter_is_valid.
---
 src/json.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/src/json.h b/src/json.h
index 713ab56f..feb85d67 100644
--- a/src/json.h
+++ b/src/json.h
@@ -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, ...);