Serialise activity metrics to a JSON string (snake_case keys, matching the wire format shared with the Python and Swift SDKs).
Pretty-printed (indented) by default; pass pretty=false for compact output.
pretty=false
Serialise activity metrics to a JSON string (snake_case keys, matching the wire format shared with the Python and Swift SDKs).
Pretty-printed (indented) by default; pass
pretty=falsefor compact output.