@@ -255,7 +255,7 @@ Json::Value obj_value(Json::objectValue); // {}
255
255
#endif // if defined(JSON_HAS_INT64)
256
256
Value (double value);
257
257
Value (const char * value); // /< Copy til first 0. (NULL causes to seg-fault.)
258
- Value (const char * beginValue , const char * endValue ); // /< Copy all, incl zeroes.
258
+ Value (const char * begin , const char * end ); // /< Copy all, incl zeroes.
259
259
/* * \brief Constructs a value from a static string.
260
260
261
261
* Like other value string constructor but do not duplicate the string for
@@ -306,7 +306,7 @@ Json::Value obj_value(Json::objectValue); // {}
306
306
* \return false if !string. (Seg-fault if str or end are NULL.)
307
307
*/
308
308
bool getString (
309
- char const ** str , char const ** end) const ;
309
+ char const ** begin , char const ** end) const ;
310
310
#ifdef JSON_USE_CPPTL
311
311
CppTL::ConstString asConstString () const ;
312
312
#endif
@@ -435,8 +435,8 @@ Json::Value obj_value(Json::objectValue); // {}
435
435
Value get (const char * key, const Value& defaultValue) const ;
436
436
// / Return the member named key if it exist, defaultValue otherwise.
437
437
// / \note deep copy
438
- // / \param key may contain embedded nulls.
439
- Value get (const char * key , const char * end, const Value& defaultValue) const ;
438
+ // / \note key may contain embedded nulls.
439
+ Value get (const char * begin , const char * end, const Value& defaultValue) const ;
440
440
// / Return the member named key if it exist, defaultValue otherwise.
441
441
// / \note deep copy
442
442
// / \param key may contain embedded nulls.
@@ -448,12 +448,12 @@ Json::Value obj_value(Json::objectValue); // {}
448
448
#endif
449
449
// / Most general and efficient version of isMember()const, get()const,
450
450
// / and operator[]const
451
- // / \note As stated elsewhere, behavior is undefined if (end-key ) >= 2^30
452
- Value const * find (char const * key , char const * end) const ;
451
+ // / \note As stated elsewhere, behavior is undefined if (end-begin ) >= 2^30
452
+ Value const * find (char const * begin , char const * end) const ;
453
453
// / Most general and efficient version of object-mutators.
454
- // / \note As stated elsewhere, behavior is undefined if (end-key ) >= 2^30
454
+ // / \note As stated elsewhere, behavior is undefined if (end-begin ) >= 2^30
455
455
// / \return non-zero, but JSON_ASSERT if this is neither object nor nullValue.
456
- Value const * demand (char const * key , char const * end);
456
+ Value const * demand (char const * begin , char const * end);
457
457
// / \brief Remove and return the named member.
458
458
// /
459
459
// / Do nothing if it did not exist.
@@ -466,7 +466,7 @@ Json::Value obj_value(Json::objectValue); // {}
466
466
// / \param key may contain embedded nulls.
467
467
// / \deprecated
468
468
Value removeMember (const std::string& key);
469
- // / Same as removeMember(const char* key , const char* end, Value* removed),
469
+ // / Same as removeMember(const char* begin , const char* end, Value* removed),
470
470
// / but 'key' is null-terminated.
471
471
bool removeMember (const char * key, Value* removed);
472
472
/* * \brief Remove the named map member.
@@ -477,7 +477,7 @@ Json::Value obj_value(Json::objectValue); // {}
477
477
*/
478
478
bool removeMember (std::string const & key, Value* removed);
479
479
// / Same as removeMember(std::string const& key, Value* removed)
480
- bool removeMember (const char * key , const char * end, Value* removed);
480
+ bool removeMember (const char * begin , const char * end, Value* removed);
481
481
/* * \brief Remove the indexed array element.
482
482
483
483
O(n) expensive operations.
@@ -493,7 +493,7 @@ Json::Value obj_value(Json::objectValue); // {}
493
493
// / \param key may contain embedded nulls.
494
494
bool isMember (const std::string& key) const ;
495
495
// / Same as isMember(std::string const& key)const
496
- bool isMember (const char * key , const char * end) const ;
496
+ bool isMember (const char * begin , const char * end) const ;
497
497
#ifdef JSON_USE_CPPTL
498
498
// / Return true if the object has a member named key.
499
499
bool isMember (const CppTL::ConstString& key) const ;
0 commit comments