@modelhealth/modelhealth
    Preparing search index...

    Function activityMetricsToJson

    • 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.

      Parameters

      Returns string