kw_update_except()
#
Updates the dictionary kw
with key-value pairs from other
, excluding keys specified in except_keys
.
Prototype
void kw_update_except(
hgobj gobj,
json_t *kw, // not owned
json_t *other, // owned
const char **except_keys
);
Parameters
Key |
Type |
Description |
---|---|---|
|
|
Handle to the gobj (generic object) system. |
|
|
The target JSON dictionary to be updated. This parameter is not owned by the function. |
|
|
The source JSON dictionary containing key-value pairs to update |
|
|
A NULL-terminated array of keys that should be excluded from the update. |
Return Value
This function does not return a value.
Notes
Only the first level of kw
is updated. Keys in except_keys
are ignored during the update.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples