in reply to JSON.pm and mod_perl
I'm a bit confused as to why its doing this :(
Because you're sending a JSON::Tiny::_Bool object to be processed by JSON is my guess. It can handle its own JSON::Booleans but not the objects from JSON::Tiny.
If you want to switch, you will have to remove *all* of the old code. And just to back up and check: you are restarting the apache httpd on all code changes, right? And while you describe the outcome/problem, you haven't shown any code to duplicate it. How were you writing true and false before the perfectly acceptable \1 and \0? I'm unsure where threading comes into this as a problem. Where did you hear that you should use JSON::Tiny instead? (It wouldn't even install for me.)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: JSON.pm and mod_perl
by ultranerds (Hermit) on Mar 30, 2016 at 14:16 UTC | |
by Your Mother (Archbishop) on Mar 30, 2016 at 15:05 UTC | |
by ultranerds (Hermit) on Mar 30, 2016 at 16:39 UTC | |
by Your Mother (Archbishop) on Mar 30, 2016 at 16:52 UTC |