Re: native json parsing

Christof Ressi <[email protected]> Tue, 10 Feb 2026 14:03:52 +0100
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
Nested lists would be awesome!

There has already been a discussion on GitHub: 
https://github.com/pure-data/pure-data/issues/505.

I've tried to argue that we shouldn't suddenly reclaim existing valid 
characters. Instead we could extend the semantics of $ to allow for more 
control sequences.

In that sense, I have suggested to use ${ and $} instead of plain { and 
} as nested list delimiters.

Similarly, we could finally support $@ as a placeholder for all 
arguments or even introduce argument slices like $[1:4].

Christof

On 2/10/2026 8:40 AM, IOhannes m zmölnig via Pd-list wrote:
> Am 10. Februar 2026 00:40:27 MEZ schrieb Dan Wilcox <[email protected]>:
>> I don't know if I would be in favor of something built-in that is specifically JSON, but maybe more allow for nesting lists.
>>
>>
> this.
>
> and while this was shot down when I proposed it back then, I still think that using curlies for nested lists would be the simplest solution.
>
>
> mfg.sfg.jfd
> IOhannes
> ---
> [email protected] - the Pure Data mailinglist
> https://lists.iem.at/hyperkitty/list/[email protected]/message/7G2RRQ6TJENK7DC3CUHVQE7BTY4XTMVC/
>
> To unsubscribe send an email to [email protected] mailing list
> UNSUBSCRIBE and account-management -> https://lists.iem.at/
>

---
[email protected] - the Pure Data mailinglist
https://lists.iem.at/hyperkitty/list/[email protected]/message/YGHN4Y5PCD32IQX4WKCRC5ZL3ZCX2NFY/

To unsubscribe send an email to [email protected] mailing list
UNSUBSCRIBE and account-management -> https://lists.iem.at/
curly-braces-test.pd (text/plain, 542 B)
#N canvas 185 308 450 300 12;
#X obj 150 107 fudiparse;
#X obj 150 139 list;
#X obj 149 45 bng 19 250 50 0 empty empty empty 0 -10 0 12 #fcfcfc #000000 #000000;
#X obj 150 76 list 123 32 49 32 125;
#X obj 149 169 unpack s f s;
#X floatatom 188 198 5 0 0 0 - - - 0;
#X symbolatom 102 198 10 0 0 0 - - - 0;
#X symbolatom 236 199 10 0 0 0 - - - 0;
#X listbox 200 138 20 0 0 0 - - - 0;
#X connect 0 0 1 0;
#X connect 1 0 4 0;
#X connect 1 0 8 0;
#X connect 2 0 3 0;
#X connect 3 0 0 0;
#X connect 4 0 6 0;
#X connect 4 1 5 0;
#X connect 4 2 7 0;