From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 6204 invoked from network); 27 Apr 2022 19:35:38 -0000 Received: from 9front.inri.net (168.235.81.73) by inbox.vuxu.org with ESMTPUTF8; 27 Apr 2022 19:35:38 -0000 Received: from mx1.mythic-beasts.com ([46.235.224.141]) by 9front; Wed Apr 27 15:33:56 -0400 2022 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=quintile.net; s=mythic-beasts-k1; h=To:Date:Subject:From; bh=72zChLnpxaoN12OOa57k0PjlQ0v2+iD9rAUqfiVyp2A=; b=ZqKZXoLK6byKir/LcEO71VJvjS b0ltGtsGUOEI6oj/cFH6tJFKgREn2jzrIIFfnMdH38M0gI4lgsRuwiUwx9ftZnPUbWFTcnI3o8YHN l1jPtieJxBssahJmIzkBoU4SMYZpLsD7BBOtDI0zbpr27MyUCrMISG0M2aReVKCOEAcw05jvGMIVI d6KWZcaqS2hPmbfZ0PoCkRXcNeahOFeL3TEZ9MlNQV3rXPWEu59tz1pYGDC5sOlz5d7oJMx9Hk7Tn 22Sgca4BvgLwxdOCpPYBhs0XIzsBOlRqHhIeY8UMQ5PdzrZOLzBiGzCvpesNzOlnHu51reKHgOPXx poCb5bpw==; Received: from [81.187.198.132] (port=60688 helo=smtpclient.apple) by haggis.mythic-beasts.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92.3) (envelope-from ) id 1njnQA-0003Lb-V0 for 9front@9front.org; Wed, 27 Apr 2022 20:33:55 +0100 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: Steve Simon Mime-Version: 1.0 (1.0) Date: Wed, 27 Apr 2022 20:33:52 +0100 Message-Id: References: <538a0b5c-ec13-415d-6084-826f34c9fa83@disroot.org> In-Reply-To: <538a0b5c-ec13-415d-6084-826f34c9fa83@disroot.org> To: 9front@9front.org X-Mailer: iPhone Mail (19E258) X-BlackCat-Spam-Score: 4 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: open transactional blockchain enhancement Subject: Re: [9front] Question about parsing a json file Reply-To: 9front@9front.org Precedence: bulk i think parsing arbitary json reliably in rc would be very hard. it is fairl= y straightforward in c. i wrote a simple parser (in my contrib) with a beaut= ifier as a sample app; thought that is not what you asked for=E2=80=A6 -Steve > On 27 Apr 2022, at 7:44 pm, Jacobo Da Riva Mu=C3=B1oz w= rote: >=20 > =EF=BB=BFHi!! >=20 > I started a 'little' rc program to read and post beeps to Mastodon. My ide= a is to create a simple but functional program. I'm not a developer, I'm a d= evops, but I think this is a good idea to start developing on 9front. The ma= in problem is How can a json file be parsed in rc? Does anyone have an idea h= ow to fix this? Any experience will be welcome. >=20 > Regards >=20 >=20