validateCallingFunctionJSON(callingFunction): Either<RulesError[], CallingFunctionJSON>
Defined in: src/modules/validation.ts:596 Parses a JSON string and returns Either a CallingFunctionJSON object or an error.

Parameters

ParameterTypeDescription
callingFunctionstringstring to be parsed.

Returns

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