JSON Lines is a convenient format for storing structured data that may be processed one record at a time.

Requirements

  1. UTF-8 Encoding
  2. Each Line is a Valid JSON Value
  3. 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

Sources