# Basic syntax: import knjson with open('/path/to/filename.ndjson') as file: your_data = ndjson.load(file)