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

Parameters

ParameterTypeDescription
trackerstringstring to be parsed.

Returns

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