Documentation Index
Fetch the complete documentation index at: https://docs.forterulesengine.io/llms.txt
Use this file to discover all available pages before exploring further.
validateRuleJSON(Defined in: src/modules/validation.ts:308 Parses a JSON string and returns Either a RuleJSON object or an error.rule):Either<RulesError[],RuleJSON>
Parameters
| Parameter | Type | Description |
|---|---|---|
rule | string | string to be parsed. |
Returns
Either<RulesError[], RuleJSON>
Either the parsed RuleJSON object or an error.