stats_parser()

stats_parser()#

Parse statistical data from a GObj.

Prototype

PUBLIC json_t *stats_parser(
    hgobj       gobj,
    const char *stats_name,
    const char *options
);
        

Parameters

Key

Type

Description

gobj

hgobj

The GObj to retrieve statistical data from.

stats_name

const char *

The name of the specific statistics to parse, or NULL for all statistics.

options

const char *

Options to customize the parsing process (e.g., filters or format specifications).


Return Value

Returns a json_t * object containing the parsed 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