MCPcopy Index your code
hub / github.com/simstudioai/sim / parseJSONL

Function parseJSONL

apps/sim/lib/file-parsers/json-parser.ts:66–70  ·  view source on GitHub ↗
(filePath: string)

Source from the content-addressed store, hash-verified

64 * Parse JSONL (JSON Lines) files — one JSON object per line
65 */
66export async function parseJSONL(filePath: string): Promise<FileParseResult> {
67 const fs = await import('fs/promises')
68 const content = await fs.readFile(filePath, 'utf-8')
69 return parseJSONLContent(content)
70}
71
72/**
73 * Parse JSONL from buffer

Callers

nothing calls this directly

Calls 2

parseJSONLContentFunction · 0.85
readFileMethod · 0.80

Tested by

no test coverage detected