From d6d81e6ece30def7a3977d191f70dcd80bc29b1b Mon Sep 17 00:00:00 2001 From: Eric Haszlakiewicz Date: Tue, 5 Dec 2017 18:25:03 -0500 Subject: [PATCH] Adjust the description of json_object_iterator a bit. --- json_object_iterator.c | 5 ----- json_object_iterator.h | 9 +++++---- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/json_object_iterator.c b/json_object_iterator.c index 7c2a25b0..f8d69ab3 100644 --- a/json_object_iterator.c +++ b/json_object_iterator.c @@ -7,11 +7,6 @@ * This library is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See COPYING for details. * -* @brief json-c forces clients to use its private data -* structures for JSON Object iteration. This API -* implementation corrects that by abstracting the -* private json-c details. -* ******************************************************************************* */ diff --git a/json_object_iterator.h b/json_object_iterator.h index 44c9fb25..f226cbd5 100644 --- a/json_object_iterator.h +++ b/json_object_iterator.h @@ -7,10 +7,11 @@ * This library is free software; you can redistribute it and/or modify * it under the terms of the MIT license. See COPYING for details. * -* @brief json-c forces clients to use its private data -* structures for JSON Object iteration. This API -* corrects that by abstracting the private json-c -* details. +* @brief An API for iterating over json_type_object objects, +* styled to be familiar to C++ programmers. +* Unlike json_object_object_foreach() and +* json_object_object_foreachC(), this avoids the need to expose +* json-c internals like lh_entry. * * API attributes:
* * Thread-safe: NO
-- 2.47.3