in reply to Re: JSON.pm and mod_perl
in thread JSON.pm and mod_perl

Hi,

A couple of questions really :)

1) Why did I get that error with JSON::Tiny? With the JSON module, I do:
use JSON; my $json = JSON->new; $json->allow_blessed(1); print $json->encode($values);
... but I couldn't find a way to "allow_blessed" when using the JSON::Tiny module

2) If I decide to keep the JSON module... with the \0 and \1 variables now, will the rest of the JSON be thread safe? (I don't want other stuff getting mixed up in the returned json :))

TIA

Andy