validateMappedTrackerJSON(Defined in: src/modules/validation.ts:572 Parses a JSON string and returns Either a MappedTrackerJSON object or an error.tracker):Either<RulesError[],MappedTrackerJSON>
Parameters
| Parameter | Type | Description |
|---|---|---|
tracker | string | string to be parsed. |
Returns
Either<RulesError[], MappedTrackerJSON>
Either the parsed MappedTrackerJSON object or an error.