mirror of
https://github.com/open-source-parsers/jsoncpp.git
synced 2025-10-15 15:16:47 +02:00
partial
This commit is contained in:
@@ -395,6 +395,15 @@ Json::Value obj_value(Json::objectValue); // {}
|
||||
Value removeMember(const char* key);
|
||||
/// Same as removeMember(const char*)
|
||||
Value removeMember(const std::string& key);
|
||||
/** \brief Remove the indexed array element.
|
||||
|
||||
O(n) expensive operations.
|
||||
Update 'removed' iff removed.
|
||||
(This is a better pattern than removeMember().)
|
||||
JSON_FAIL if !isValidIndex(i) or if not arrayObject
|
||||
\return true iff removed
|
||||
*/
|
||||
bool removeIndex(ArrayIndex i, Value* removed);
|
||||
|
||||
/// Return true if the object has a member named key.
|
||||
bool isMember(const char* key) const;
|
||||
|
Reference in New Issue
Block a user