JSON Lines is a convenient format for storing structured data that may be processed one record at a time.
Requirements
- UTF-8 Encoding
- Each Line is a Valid JSON Value
- Line Separator isĀ
'\n'
Suggestions
- JSON Lines files may be saved with the file extensionĀ
.jsonl.- Stream compressors likeĀ
gzipĀ orĀbzip2Ā are recommended for saving space, resulting inĀ.jsonl.gzĀ orĀ.jsonl.bz2Ā files.- MIME type may beĀ
application/jsonl