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

# validateMappedTrackerJSON

> v0.20.5

> **validateMappedTrackerJSON**(`tracker`): [`Either`](../../types/type-aliases/Either)\<[`RulesError`](../../types/type-aliases/RulesError)\[], [`MappedTrackerJSON`](../interfaces/MappedTrackerJSON)>

Defined in: [src/modules/validation.ts:572](https://github.com/Forte-Service-Company-Ltd/forte-rules-engine-sdk/blob/40cc8388cecd8ee445b00b9df2b681cff8552ece/src/modules/validation.ts#L572)

Parses a JSON string and returns Either a MappedTrackerJSON object or an error.

## Parameters

| Parameter | Type     | Description          |
| --------- | -------- | -------------------- |
| `tracker` | `string` | string to be parsed. |

## Returns

[`Either`](../../types/type-aliases/Either)\<[`RulesError`](../../types/type-aliases/RulesError)\[], [`MappedTrackerJSON`](../interfaces/MappedTrackerJSON)>

Either the parsed MappedTrackerJSON object or an error.
