i am struggling with using the JSON parser at squeaksource,
here's what i have done..
pulled in my data... saved it to a string..
then did:
json stream: jData.
where json is a Json object..
when i do:
json readAny
i always get:
MessageNotUnderstood: ByteString>>peek
where peek looks like:
peek ^ self stream peek
any ideas?
thanks!
"sergio" == sergio 101 sergiolist@village-buzz.com writes:
sergio> pulled in my data... saved it to a string..
sergio> then did:
sergio> json stream: jData.
I think you want a Stream there, not a String.
easy enough:
json stream: jData readStream.
beginners@lists.squeakfoundation.org