From: Steve Simon <steve@quintile.net>
To: 9front@9front.org
Subject: Re: [9front] Question about parsing a json file
Date: Thu, 28 Apr 2022 09:37:42 +0100 [thread overview]
Message-ID: <7B2D6441-3A2E-45E5-B05C-2D46641D7262@quintile.net> (raw)
In-Reply-To: <29bbc06a-b1da-4a8a-baee-3a69dece90cb@sirjofri.de>
honestly i think the native 9front solution using jsonfs is the way to go, kudos to the author for an elegant, plan9-centric solution.
my json library was written separately to the 9front one - i would have used it if i had known about it.
mine is here if it is of interest: http://www.quintile.net/pkg/libjson.tbz
and the beautifier at http://www.quintile.net/pkg/json.cmds.tbz
there is also a json2 which works like the linux xml2 command, converting json to awk friendly token,value flat file.
in a similar vein there is a libxml and xml.cmds on the same server.
-Steve
next prev parent reply other threads:[~2022-04-28 8:39 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-27 18:43 Jacobo Da Riva Muñoz
2022-04-27 19:03 ` Stanley Lieber
2022-04-27 19:33 ` Steve Simon
2022-04-27 20:38 ` Jacobo Da Riva Muñoz
2022-04-27 20:45 ` umbraticus
2022-04-27 20:58 ` sirjofri
2022-04-28 8:37 ` Steve Simon [this message]
2022-05-01 2:43 ` jpeg
2022-05-02 7:19 ` Jacobo Da Riva Muñoz
[not found] ` <CAD3fX0OdUfjC2DueZu5oDno8tqffU3sZGxSffOsRLXQ+Sd1xyA@mail.gmail.com>
2022-05-02 7:25 ` phil9
2022-05-02 8:30 ` Julien Blanchard
2022-05-03 13:27 ` Philip Silva
2022-05-03 13:55 ` Stanley Lieber
2022-05-03 15:12 ` Philip Silva
2022-05-05 9:34 ` Jacobo Da Riva
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=7B2D6441-3A2E-45E5-B05C-2D46641D7262@quintile.net \
--to=steve@quintile.net \
--cc=9front@9front.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).