]> git.ipfire.org Git - thirdparty/json-c.git/commitdiff
Adjust the description of json_object_iterator a bit.
authorEric Haszlakiewicz <erh+git@nimenees.com>
Tue, 5 Dec 2017 23:25:03 +0000 (18:25 -0500)
committerEric Haszlakiewicz <erh+git@nimenees.com>
Tue, 5 Dec 2017 23:43:18 +0000 (18:43 -0500)
json_object_iterator.c
json_object_iterator.h

index 7c2a25b0c10190b001ad3215bb5fcbc997a419bd..f8d69ab3689a91fb1565ff4edfc433838f8df57c 100644 (file)
@@ -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.
-*
 *******************************************************************************
 */
 
index 44c9fb25b6cae99082fc4834f297cd9f39f9af0d..f226cbd524a3673544e81e60a1cf7b296996f55c 100644 (file)
@@ -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: <br>
 *   * Thread-safe: NO<br>