• exec/load/json_lines.js

    From rswindell@VERT to CVS commit on Thu Aug 15 16:15:39 2019
    exec/load json_lines.js NONE 1.1
    Update of /cvsroot/sbbs/exec/load
    In directory cvs:/tmp/cvs-serv10376

    Added Files:
    json_lines.js
    Log Message:
    So I was playing with serialized JSON data files (a replacement for the old logon.lst file format) and thought I came up with a cool new idea. Nope.
    It's already a thing:
    http://jsonlines.org/
    http://ndjson.org/

    Here's a library to append-to and read these "JSON Lines", "NDJSON" and "LDJSON" files.

    On underscores versus dashes in filenames:
    Apparently my tendency is to use underscores in source/script filenames, while other CVS contributors (e.g. mcmlxxix) prefer dashes (e.g. json-*.js), so the filenames are starting to look a bit bipolar. Oh well. :-(



    ---
    ■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net