Hi Marcel, hi all,


I'm also a frequent user of JSON. I especially use it often for scripting tasks where it would be very helpful to have it in the Trunk by default.


However, I would also like to mention that we already have a small but working JSON implementation in WebUtils. See WebUtils class >> #json{De,En}code:. I'm not aware of all its limitations, but apparently, it does not have proper support for Unicode strings (\u...). Apart from that, it decodes to regular Dictionaries whereas JSON has JsonObjects with dynamic forwarding instead. Probably it would be a good idea to join these two concepts if we integrate JSON into the Trunk.


Also, consider Levente's fork of JSON, which we probably would like to merge as well: http://forum.world.st/I-d-like-to-contribute-to-the-JSON-project-tp5121353p5121357.html


---

As another whataboutistic comment, what is about STON? Currently, it resists as a kind of hidden fork on GitHub, and for some reason, smalltalkCI holds a hard copy of it. Could we argue to add it to the Trunk as well? 😊

Best,
Christoph

Von: Squeak-dev <squeak-dev-bounces@lists.squeakfoundation.org> im Auftrag von Fabio Niephaus <lists@fniephaus.com>
Gesendet: Dienstag, 6. Juli 2021 15:17:12
An: The general-purpose Squeak developers list
Betreff: Re: [squeak-dev] JSON into Trunk? =)
 
+1

On Tue, Jul 6, 2021 at 3:13 PM Tobias Pape <Das.Linux@gmx.de> wrote:
>
> YES
>
> > On 6. Jul 2021, at 15:06, Marcel Taeumel <marcel.taeumel@hpi.de> wrote:
> >
> > Hi all!
> >
> > I think it would be nice to have JSON as part of Squeak Trunk. This would make parsing the content of web requests easier. Recently, I got lucky to find the last-modified date in the HTTP header for the public TravisCI badge. But usually, one would have to query the official endpoint/API to then get XML or JSON content.
> >
> > http://www.squeaksource.com/JSON
> >
> > What do you think? The project is
> > + Self-contained
> > + Stable since 2016
> > + Not that big
> > o Adding the extension #jsonWriteOn: to the system
> >
> > Latest maintainers seem to be:
> > Hannes Hirzel (hjh, 2010)
> > Levente Uzonyi (ul, 2010)
> > Tony Garnock-Jones (tonyg, 2016)
> > Fabio Niephaus (FabN, 2016)
> >
> > Best,
> > Marcel
> >
>
>
>