in reply to Re: JSON.pm and mod_perl
in thread JSON.pm and mod_perl
...and then encoding them with:$values->{foo} = JSON::true(); $values->{foo2} = JSON::false();
use JSON; my $json = JSON->new; $json->allow_blessed(1); print $json->encode($values);
..and then to encode:$values->{foo} = JSON::Tiny->true; $values->{foo2} = JSON::Tiny->false;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: JSON.pm and mod_perl
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 |