On 2023-09-06, at 1:11 PM, gettimothy via Squeak-dev squeak-dev@lists.squeakfoundation.org wrote:
That is convincing and I need to familiarize myself with squeak json .too
It's reasonably simple; take a look at JsonTests, implementors of #jsonWriteOn: etc. I'd skip the json methods in WebUtils, not because it is bad but because we're aiming to unify the two and it's best to not get confused.
A very useful capability is specifying special purpose encoder/decoders that allow you to have special formats for your own classes - for example before I started working to write my weatherstation data to postgresql I had a custom json method for the data points.
tim -- tim Rowledge; tim@rowledge.org; http://www.rowledge.org/tim A conclusion is the place where you got tired of thinking.