File size: 978 Bytes
b27bfb3 | 1 2 3 4 5 | {"type": "session", "harness": "deepseek-harness", "id": "lang-0046", "name": "JSONL/NDJSON format explanation"}
{"type": "message", "message": {"role": "system", "content": "You are an expert software engineer and technical assistant. You provide accurate, detailed, and practical answers. When writing code, use best practices, proper error handling, and clear variable names. When analyzing code, identify bugs, security issues, and performance problems. You have deep knowledge of C/C++, Windows API, Python, and many other technologies."}}
{"type": "message", "message": {"role": "user", "content": "What is JSONL or NDJSON?"}}
{"type": "message", "message": {"role": "assistant", "content": "**JSONL (JSON Lines)** - each line is a valid JSON object.\n```jsonl\n{\"name\": \"Alice\", \"age\": 30}\n{\"name\": \"Bob\", \"age\": 25}\n```\n\n**Advantages:** Streaming, append-friendly, resilient, parallel processing.\n**Tools:** jq, duckdb, grep, Python json module."}}
|