Skip to content

Comment on On-demand JSON: A better way to parse documents?

Comments

Alternatively, jsonl/ndjson. The largest parts of jsons are usually arrays, not dictionaries. So you can e.g.:

  {<a header about foos and bars>}
  {<foo 1>}
  ...
  {<foo N>}
  {<bar 1>}
  ...
  {<bar N>}
It is compatible with streaming, database json columns, code editors.
AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.