From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <9front-bounces@9front.inri.net> X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from 9front.inri.net (9front.inri.net [168.235.81.73]) by inbox.vuxu.org (Postfix) with ESMTP id A940A24772 for ; Thu, 25 Jan 2024 14:43:59 +0100 (CET) Received: from auth.driusan.net ([207.148.18.58]) by 9front; Thu Jan 25 08:42:06 -0500 2024 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=driusan.net; s=20180128; h=From:Date:Subject:To; bh=efitAf8rR/cOkw0flZl4s+60bZT8QddfpoZMATnZ79Q=; b=s17NT1wn9HSh6lPvTiPfO2Cxvf9KztO3SkU7UVzskGvSZf6GPMHVNt/jhJJ4VaJ7cq2X2w9s0J/1w+tiAWvVPU3tqmOa4tsL0FHpkPYyKlIvO3Q8SqBEVhx1ft6ysTwXqgn/fkd6xKLK6SVjtU+9rz1CYFZUjYxr0SD1fsBPeEnQlgdhwAi4wO0uyPL3oL8RSsLHb/wV4rhg/bHXPkoAvVSAfQDILnXeX4TxyKjmkLjexRfuWxvMWzG8GA96CUphRTUnd6RiDHbFYSHYh8hlxsy99K0M7vnsUNJbRqvVcKP5sMwlrjXmwHUDNg3TI0mUnQ7Xo+1zqtMuQZkiWVTVFQ== Message-ID: <0EA75CAA112ACBA77E10723AFD82E1B1@driusan.net> To: 9front@9front.org From: "Dave MacFarlane" Date: Thu, 25 Jan 2024 08:42:05 -0500 In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: open-source stateless app-based storage Subject: Re: [9front] str2json and jsonfmt Reply-To: 9front@9front.org Precedence: bulk I wrote something similar to OP's str2json which I call jsonfmt which I use all the time, so I'm definitely in favour of including it. If there's going to be a /bin/json/* hierarchy another candidate would be a json/fs. I have one that I wrote for myself here: https://github.com/driusan/fedi9/blob/front/jsonfs.c to make it easier to deal with json in shell scripts but I don't think it's very good or up to 9front standards (it's not well documented and it can get crash-y when you try and re-use same /mnt/json/ctl with different json). There may be other json/fs implementations out there in the world. Quoth phil9 : > I also wrote some json tool > (http://shithub.us/phil9/gj/HEAD/info.html) inspired by gron to make > json greppable. > umbraticus has a better version but I can never remember their site :) > > Maybe we could have all these tools in a json subdir of /bin like > json/fmt, json/parse, json/grep > > On Thu, Jan 25, 2024 at 9:08 AM wrote: > > > > nice! > > > > thanks for sharing. > > > > this might indeed become usefull for a mangadex fetcher. > > > > -- > > cinap >