json-fortran icon indicating copy to clipboard operation
json-fortran copied to clipboard

NDJSON and similar

Open jacobwilliams opened this issue 4 years ago • 2 comments

Other possible flavors to support:

  • NDJSON https://github.com/ndjson/ndjson-spec
  • JSON Text Sequences https://tools.ietf.org/html/rfc7464
  • JSON Lines http://jsonlines.org

Note: I think we can currently write these fine (just use a loop and add the new lines, etc. yourself). But we can't parse a file like this.

Maybe worth adding support.

jacobwilliams avatar Aug 03 '19 02:08 jacobwilliams

Note: see also #328

jacobwilliams avatar Aug 03 '19 02:08 jacobwilliams

See also https://en.wikipedia.org/wiki/JSON_streaming , I especially like record-separated JSON. Maybe I can soon make a PR.

mk-pmb avatar Aug 11 '20 21:08 mk-pmb