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