Skip to contents

Aggregates JSON objects published under a specific key, merging them according to the specified mode.

Usage

mc_get_stream_key_summary(conn, stream, key, mode = "jsonobjectmerge")

Arguments

conn

A connection object created by mc_connect.

stream

Character string. Stream name, reference, or txid.

key

Character string. The key to summarize.

mode

Character string. Merge mode (default "jsonobjectmerge"). Other options include "recursive", "noupdate", etc.

Value

A JSON object (list) representing the merged summary.

Examples

if (FALSE) { # \dontrun{
summary <- mc_get_stream_key_summary(conn, "mystream", "key", mode = "jsonobjectmerge")
} # }