Create a command-line tool /app/normalize that normalizes nested JSON records from NDJSON (newline-delimited…
Create a command-line tool /app/normalize that normalizes nested JSON records from NDJSON (newline-delimited…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input: - Read from stdin OR from files specified as arguments (if no files, read stdin; if files given…
The task
**Input:** - Read from stdin OR from files specified as arguments (if no files, read stdin; if files given, process all in order) - Each line is a complete JSON object (NDJSON format) - JSON objects have arbitrary nesting of objects/arrays - Some fields may be missing across different records
Part of ai-and/termgrade-environments.