# Function parseWorkflowJson

Workflows exports - Workflow engine with parallel execution Split from index.ts for file size compliance (Issue #285)

- parseWorkflowJson(content: string): Result<WorkflowDefinition, ParseError>

  Parses a JSON string into a WorkflowDefinition.

  #### Parameters

  - content: string

    JSON string content

  #### Returns Result<WorkflowDefinition, ParseError>

  Result with WorkflowDefinition or ParseError

  - Defined in packages/nexus-agents/src/workflows/workflow-parser.ts:124