UNPKG

@arizeai/phoenix-client

Version:

A client for the Phoenix API

14 lines 356 B
/** * Safely parse a JSON string * * @param str - The string to parse * @returns An object containing both the parsed JSON and the error if there was one */ export declare function safelyParseJSON(str: string): { json: any; parseError?: undefined; } | { json: null; parseError: unknown; }; //# sourceMappingURL=safelyParseJSON.d.ts.map