[squeak-dev] WebClient, Json and CouchDB
radoslav hodnicak
rh at 4096.sk
Wed May 12 16:22:23 UTC 2010
On Wed, 12 May 2010, Hannes Hirzel wrote:
> My question:
>
> Is there a nicer way of doing
>
> nnnn := ((c asciiValue bitAnd: 16rFFFF) printStringBase: 16) .
> [nnnn size < 4] whileTrue: [nnnn := '0', nnnn].
> ^ '\u', nnnn
>
Yes there is. As I said before, check the JSON package in the SCouchDB
repository (Igor's link from few days ago), where I fixed this bug. I'm
kinda surprised at your insistence to use a buggy/unmaintained JSON code
when you have been told several times there's one that's tested to work
with CouchDB (I use it in production).
rado
More information about the Squeak-dev
mailing list
|