[Seaside] JSON serialization of dictionary broken in Seaside 3.1?

Philippe Marschall philippe.marschall at gmail.com
Tue Oct 14 19:40:19 UTC 2014

On Tue, Oct 14, 2014 at 4:06 PM, Mariano Martinez Peck
<marianopeck at gmail.com> wrote:
> Hi guys, I am trying to migrate my app from Seaside 3.0.9 to seaside 3.1.3
> and I am having a problem with JQAutocomplete. The problem is in
> #search:labels:callback:. Basically, I am not able to serialize via JSON
> what I was indeed able before. It seems the json serialization changed in
> seaside 3.1 as I can read in the changelog. I have reproduced the problem up
> to this snipet:
> | dict stream |
> dict := GRSmallDictionary new.
> dict at: 'label' put: 'NONE'.
> dict at: 'index'put: 1.
> stream := GRPharoUtf8CodecStream
> on: String new writeStream
> converter: UTF8TextConverter new.
> stream json: dict.
> Anyone has an insigh of which should be the correct solution?

"Works for me" I get
{"label": "NONE", "index": 1}
what do you get?

Can you check #jsonOn: on Dictionary and GRSmallDictionary? It could
be a loading issue. The methods have been moved around to different


More information about the seaside mailing list