Hmmm. Real bug, looks like(?). I don't have a modperl install to play with though so can't comment on that.
Since the string allow_blessed does not appear in JSON::Tiny I have to assume you are still loading JSON somewhere. You'll either need to comb through code/%INC to find and remove it or perhaps fully qualify your calls to JSON::Tiny::encode_json() etc.
Sidenote: you do not need allow_blessed to be true if working with JSON bools. Setting it true in general is probably a bad practice. Throwing around objects can mean revealing much more information than intended. You might, for example, send a list of user objects to the webpage via ajax and end up showing private information that is in the object like addresses or real names when you just meant to show username and webpage.
perl -MJSON -le 'print encode_json({o=>JSON::true()})' {"o":true}
In reply to Re^3: JSON.pm and mod_perl
by Your Mother
in thread JSON.pm and mod_perl
by ultranerds
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |