From: Eric Haszlakiewicz Date: Tue, 5 Dec 2017 23:25:03 +0000 (-0500) Subject: Adjust the description of json_object_iterator a bit. X-Git-Tag: json-c-0.13-20171207~9 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d6d81e6ece30def7a3977d191f70dcd80bc29b1b;p=thirdparty%2Fjson-c.git Adjust the description of json_object_iterator a bit. --- 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