9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Steve simon <steve@quintile.net>
To: 9front@9front.org
Subject: Re: [9front] str2json and jsonfmt
Date: Thu, 25 Jan 2024 16:16:59 +0000	[thread overview]
Message-ID: <B2A579E2-00D5-4597-87F2-0BF904744655@quintile.net> (raw)
In-Reply-To: <77B60E477DAF70190E4704C02B91AFEA@driusan.net>

Hi,

I wrote something similar a long time ago

https://9p.io/sources/contrib/steve/libjson.tbz       - json library for plan9
https://9p.io/sources/contrib/steve/json.tbz          - tools, only a json beautifier

there are similar ones for xml in a similar place.
The parsers are well tested (the XML one in particular) and pretty robust.

If they are of any use to anyone, feel free to take the code.

-Steve


  reply	other threads:[~2024-01-25 16:19 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-25  5:52 Xiao-Yong Jin
2024-01-25  8:06 ` cinap_lenrek
2024-01-25  8:57   ` phil9
2024-01-25  9:17     ` chris
2024-01-25 14:03       ` Alex Musolino
2024-01-25 13:42     ` Dave MacFarlane
2024-01-25 14:57       ` cinap_lenrek
2024-01-25 15:39         ` Dave MacFarlane
2024-01-25 16:16           ` Steve simon [this message]
2024-01-26  9:34             ` umbraticus
2024-01-25 14:19     ` hiro
2024-01-26 14:53     ` ori
2024-01-26 17:28       ` Steve Simon

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=B2A579E2-00D5-4597-87F2-0BF904744655@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).