validateMappedTrackerJSON(tracker): Either<RulesError[], MappedTrackerJSON>
Defined in: src/modules/validation.ts:563 Parses a JSON string and returns Either a MappedTrackerJSON object or an error.

Parameters

ParameterTypeDescription
trackerstringstring to be parsed.

Returns

Either<RulesError[], MappedTrackerJSON> Either the parsed MappedTrackerJSON object or an error.