I use the JSON library extensively on vizreader.com so I know it works
for most things, actually the text I mentioned before that broke it
contained javascript inside it I think.

As for the tag stripping I'm actually only using PHP-cli for all my
needs at the moment, leaving Ruby out of the equation completely.


On Mon, Dec 14, 2009 at 3:23 PM, Benjamin Pollack
<benjamin.poll...@gmail.com> wrote:
> Wow. =A0That's the first time I've gotten a response from a mailing list =
> merely googling for an answer--and faster than sometimes when I've asked
> directly, too. =A0Impressive. :)
> I was enjoying messing around with PicoLisp, and wanted to know what the
> library situation looked like for some key modules before I dove in. =A0I
> found your post about processing PicoLisp client-side rather than working
> with JSON server-side, and the one where you wrote that you gave up, and
> were going to shell out to Ruby for HTML escapes. =A0An interesting
> combination.
> Thanks very much for the encoder. =A0I haven't written anything meaningfu=
l in
> PicoLisp yet (I only even worked through the tutorial yesterday), but am
> going to try to write something simple sometime this week. =A0Having
> server-side JSON support is going to make what I have in mind vastly
> simpler. =A0PicoLisp looks fascinating; this should be quite fun.
> --Benjamin
> On Mon, Dec 14, 2009 at 5:12 AM, Henrik Sarvell <hsarv...@gmail.com> wrot=
>> I just noticed that someone had searched for "picolisp json" on
>> Google, I've attached the JSON encoder/decoder to this mail.
>> However there is one problem, it isn't properly managing when there
>> are complex texts involved, then the double quote escaping might get
>> it wrong if there are already escaped double quotes in the text and so
>> on. That's what I suspect anyway, I was too lazy to properly debug
>> when I ran into problems, both because debugging decoding failures on
>> the JS side is extremely tedious and because the size of the text that
>> was failing was enormous.
>> Possibly outdated documentation here:
>> http://www.prodevtips.com/2008/09/11/pico-lisp-and-json/ (should be
>> better than nothing though).
>> /Henrik
UNSUBSCRIBE: mailto:picol...@software-lab.de?subject=unsubscribe

Reply via email to