๐ŸŒ
DEV Community
dev.to โ€บ scrapfly_dev โ€บ jsonl-vs-json-hb0
JSONL vs JSON - DEV Community
December 17, 2024 - JSONLines: JSONLines is specifically designed for incremental data handling. Since each line is an independent JSON object, new records can be directly appended to the file without impacting the rest of the data.
๐ŸŒ
Medium
medium.com โ€บ @sujathamudadla1213 โ€บ difference-between-ordinary-json-and-json-lines-fc746f93d75e
Difference between ordinary json and json lines? | by Sujatha Mudadla | Medium
October 23, 2023 - JSON (JavaScript Object Notation) and JSON Lines (also known as newline-delimited JSON) are both formats used for representing structured data, but they differ in how they store multiple JSON objects.
Discussions

JSON Lines
If you have a file containing this: ยท By contrast when the file is represented as regular JSON: More on news.ycombinator.com
๐ŸŒ news.ycombinator.com
48
70
September 26, 2015
r - Read a jsonl (json lines) file - Stack Overflow
JSONL is a text-based format that uses the .jsonl file extension and is essentially the same as JSON format except that newline characters are used to delimit JSON data. It also goes by the name JSON Lines. More on stackoverflow.com
๐ŸŒ stackoverflow.com
parsing - Difference between JSON line and Document Type - Stack Overflow
can Someone help me to understand what is the difference between JSON Line and JSON Document Type? Can someone Provide me an example of the same? I am trying to build a JSON parser. I have tried to... More on stackoverflow.com
๐ŸŒ stackoverflow.com
JSON lines

Why not just surround the whole thing with a regular json array so the file itself is valid json? Would make parsing it much easier.

More on reddit.com
๐ŸŒ r/programming
86
101
October 1, 2013
๐ŸŒ
IBM
ibm.com โ€บ docs โ€บ en โ€บ taw โ€บ 1.3.0
JSON versus JSON Lines
In some cases, you might need to extract logs as JSON Lines, where each line is a JSON object. In other cases, you might need JSON that can be parsed by functions that only accept a single JSON object or array.
๐ŸŒ
NCBI
ncbi.nlm.nih.gov โ€บ datasets โ€บ docs โ€บ v2 โ€บ reference-docs โ€บ file-formats โ€บ metadata-files โ€บ why-jsonl
Why JSON and JSON Lines - NCBI
JSON Lines facilitates stream processing since it is concatenable and any subset of lines may be processed independently of others. By comparison, JSON requires editing prior content whenever new content is appended. This same advantage was the motivation for JSON-Seq (JSON Text Sequences) ...
๐ŸŒ
Jsonltools
jsonltools.com โ€บ jsonl-vs-json
JSONL vs JSON: Which Format to Choose? (2025 Comparison Guide) - JSONL Tools
In the world of data-driven applications, choosing the right data format is crucial for efficiency, scalability, and performance. Two popular formats, JSON (JavaScript Object Notation) and JSONL (JSON Lines), offer different approaches to storing and processing structured data.
๐ŸŒ
HackerNoon
hackernoon.com โ€บ json-lines-format-76353b4e588d
JSON Lines format: Why jsonl is better than a regular JSON for web scraping | HackerNoon
December 18, 2018 - programming#json#jsonl#json-ld#json-lines#ndjson#web-scraping#json-lines-format#json-for-web-scraping
๐ŸŒ
Medium
medium.com โ€บ @yiqun.rong2 โ€บ json-line-format-is-better-than-json-when-storing-list-of-objects-in-file-3aaaafd7adef
JSON line format is better than JSON when storing list of objects in file | by Rong | Medium
December 3, 2023 - JSON line format is better than JSON when storing list of objects in file Image that you are working on the reporting of userโ€™s data which is from various data sources, such as ElasticSearch โ€ฆ
๐ŸŒ
Jsonlines
jsonlines.org
JSON Lines
This page describes the JSON Lines text format, also called newline-delimited JSON. JSON Lines is a convenient format for storing structured data that may be processed one record at a time. It works well with unix-style text processing tools and shell pipelines.
Find elsewhere
๐ŸŒ
Quora
quora.com โ€บ What-are-the-pros-and-cons-of-the-JSON-Lines-text-format
What are the pros and cons of the JSON Lines text format? - Quora
October 24, 2024 - Answer (1 of 2): JSON Lines Pros: 1. Since every entry in JSON Lines is a valid JSON it can be parsed/unmarshaled as a standalone JSON document. For example, you can seek within it, split a 10GB file into smaller files without parsing the entire thing. 2. You can easily add further lines to the ...
๐ŸŒ
Hacker News
news.ycombinator.com โ€บ item
JSON Lines | Hacker News
September 26, 2015 - If you have a file containing this: ยท By contrast when the file is represented as regular JSON:
๐ŸŒ
Dbconvert
streams.dbconvert.com โ€บ blog โ€บ json-lines-data-stream
JSON Lines format is what you need for data streams.
April 22, 2025 - In order to insert or read a record from a JSON array you have to parse the whole file, which is far from ideal. Since every entry in JSON Lines is a valid JSON it can be parsed/unmarshaled as a standalone JSON document.
๐ŸŒ
Jsonltools
jsonltools.com โ€บ what-is-jsonl
What is JSONL? An Introduction to JSON Lines Format - JSONL Tools
Unlike traditional JSON files, which contain a single JSON object or array, JSONL files consist of multiple JSON objects, each on its own line. To understand the differences, check out our JSONL vs JSON ...
๐ŸŒ
Datafix
datafix.com.au โ€บ BASHing โ€บ 2020-01-29.html
JSON Lines: record-style JSON - Data auditing and cleaning
January 29, 2020 - Not all JSON data is suited to the JSON Lines format, but regularly-structured data will fit in nicely. To convert a JSON Lines file like "log.jsonl" to one-line valid JSON, you only need to add a [ at the beginning and a ] at the end, and replace all but the last newline with a comma.
๐ŸŒ
Wikipedia
en.wikipedia.org โ€บ wiki โ€บ JSON_streaming
JSON streaming - Wikipedia
2 weeks ago - Send the JSON objects prefixed with their length and rely on a streaming parser to extract them. Line-delimited JSON works very well with traditional line-oriented tools.
๐ŸŒ
Medium
medium.com โ€บ @tihomir.manushev โ€บ json-vs-json-lines-jsonl-23a8c55b883a
JSON vs. JSON Lines (JSONL). When to choose one over the other | by Tihomir Manushev | Medium
May 6, 2025 - This article provides a comparison of JSON and JSONL, delving into their structures, use cases, serialization/deserialization characteristics, and guiding you on when to choose one over the other.
๐ŸŒ
Reddit
reddit.com โ€บ r/programming โ€บ json lines
r/programming on Reddit: JSON lines
October 1, 2013 - There's no custom tokenizer, no custom AST, no custom output emitters. You retain full integration with the existing ecosystem around JSON parsers. ... The lines are the tokens.
๐ŸŒ
Jsonlines
jsonlines.org โ€บ examples
JSON Lines |Examples
JSON Lines enables applications to read objects line-by-line, with each line fully describing a JSON object.