Skip to content

The open alternative to Salesforce, designed for AI.

149 B
Raw Blame
export const parseJsonOrUndefined = (rawBody: string): unknown => {
  try {
    return JSON.parse(rawBody);
  } catch {
    return undefined;
  }
};