Graphorin API reference v0.1.0
Graphorin API reference / @graphorin/agent / run-state / runStateToJSON
Function: runStateToJSON()
ts
function runStateToJSON(state, options?): string;Defined in: packages/agent/src/run-state/index.ts:120
Render the canonical JSON string representation of the supplied RunState. JSON.stringify(serializeRunState(state)) — provided as a convenience.
Parameters
| Parameter | Type |
|---|---|
state | RunState |
options? | SerializeRunStateOptions |
Returns
string