build_stats()#
Build statistical data for a GObj and format it as a JSON object.
Prototype
PUBLIC json_t *build_stats(
hgobj gobj,
const char *stats_name,
const char *options
);
Parameters
Key |
Type |
Description |
|---|---|---|
|
|
The GObj to build statistical data for. |
|
|
The name of the specific statistics to build, or |
|
|
Options to customize the data building process (e.g., filters or format specifications). |
Return Value
Returns a json_t * object containing the built statistical data, or NULL on failure.
Prototype
// Not applicable in JS
Prototype
# Not applicable in Python
Examples
// TODO C examples
// TODO JS examples
# TODO Python examples