> For AI agents: the complete documentation index is available at /next/zh/llms.txt, the full documentation bundle is available at /next/zh/llms-full.txt.

# Function: parseReactLynxSource()

> **parseReactLynxSource**(`text`: `string`): [`ReactLynxSource`](/next/zh/api/genui/reactlynx/interfaces/ReactLynxSource.md)

解析 JSON 或 JSON 代码块并校验两文件源码契约。

## Parameters

| Parameter | Type     |
| --------- | -------- |
| `text`    | `string` |

## Returns

[`ReactLynxSource`](/next/zh/api/genui/reactlynx/interfaces/ReactLynxSource.md)

## Throws

JSON 无效、文件缺失或多余，或超过源码大小限制时抛出。
