boolean_values#

The values JSON false and true decode to.

Synopsis#

my $json = JSON::PP->new->boolean_values(0, 1);
my ($false, $true) = $json->get_boolean_values;

What you get back#

The object. With no arguments the default booleans, $JSON::PP::false and $JSON::PP::true, come back. Two core booleans (!!0, !!1) also turn core_bools on.