gobj_child_size2()#
Returns the number of child objects of the given hgobj that match the specified filter criteria.
Prototype
size_t gobj_child_size2(
hgobj gobj_,
json_t *jn_filter // owned
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
The parent |
|
|
A JSON object containing filter criteria. Only children matching these criteria are counted. |
Return Value
The number of child objects that match the filter criteria.
Notes
The function iterates over the children of gobj_ and applies the filter conditions specified in jn_filter.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples