[Seaside-dev] WAJsonParser: crossplatform readStream questions
Diego Lont
diego.lont at delware.nl
Fri Feb 28 08:01:49 UTC 2014
Johan, Philippe,
Sorry for the confusion: I forgot to decode the string from the WAFile, and just used the raw contents. In pharo this resulted in a string, so everything worked fine, but in Gemstone this was a byte array, so I got errors all over the place. And in Gemstone a string gives me a perfectly good read stream.
Now that I fixed this problem I have got it running. I can move my model using Magritte from Pharo to gemstone and vice versa using a json export / import.
Diego
On 26 Feb 2014, at 23:43, Johan Brichau <johan at inceptive.be> wrote:
> Exactly:
> 'foobar' readStream returns an AnsiReadStream in Gemstone.
>
> Diego, is that missing in your Gemstone?
>
> Johan
>
> On 26 Feb 2014, at 21:53, Philippe Marschall <philippe.marschall at gmail.com> wrote:
>
>> On Wed, Feb 26, 2014 at 11:36 AM, Diego Lont <diego.lont at delware.nl> wrote:
>>> Hi all,
>>>
>>> Nice to see that more people are working on json at the moment. I currently am working on it to move my data from pharo to gemstone, using magritte json. As Gemstone does not have a String readStream implementation, …
>>
>> Really? Because for example WAUrl class >> #decodePercent: sends
>> aString readStream
>>
>> Cheers
>> Philippe
>> _______________________________________________
>> seaside-dev mailing list
>> seaside-dev at lists.squeakfoundation.org
>> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
>
> _______________________________________________
> seaside-dev mailing list
> seaside-dev at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/seaside-dev
More information about the seaside-dev
mailing list