[squeak-dev] JSON into Trunk? =)

tim Rowledge tim at rowledge.org
Tue Jul 6 16:39:03 UTC 2021

I strongly support the idea of Trunkifying the best mix of the three JSON packages that we can make.

I also like CT's snake->camel conversion idea. I hate snake_case.

> On 2021-07-06, at 8:34 AM, Thiede, Christoph <Christoph.Thiede at student.hpi.uni-potsdam.de> wrote:
> In terms of "dreams of the future", here is another observation I often made when using JSON (still "by the way" only):
> I often found myself writing a tiny converter that converts snake_cased JSON keys into Smalltalkish camelCased keys and the other way around, just because it would be ugly to use underscore selectors in Squeak:
> updates := self getUpdates: '/posts'.
> updates do: [:update |
>     posts at: update post_id put: update post_text]. ":-("
> I wonder whether this could be a relevant part of the JSON package as well? Just asking this here because it might hypothetically help us to gain a better understanding of the right shape and scope of this package ... :-)

tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Klingon Code Warrior:- 5) "Specs are for the weak and timid!"

More information about the Squeak-dev mailing list