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

Function parseJSONLBuffer

apps/sim/lib/file-parsers/json-parser.ts:75–78  ·  view source on GitHub ↗
(buffer: Buffer)

Source from the content-addressed store, hash-verified

73 * Parse JSONL from buffer
74 */
75export async function parseJSONLBuffer(buffer: Buffer): Promise<FileParseResult> {
76 const content = buffer.toString('utf-8')
77 return parseJSONLContent(content)
78}
79
80function parseJSONLContent(content: string): FileParseResult {
81 const lines = content.split('\n').filter((line) => line.trim())

Callers

nothing calls this directly

Calls 2

parseJSONLContentFunction · 0.85
toStringMethod · 0.45

Tested by

no test coverage detected