Home
last modified time | relevance | path

Searched refs:core_bools (Results 1 – 2 of 2) sorted by relevance

/openbsd-src/gnu/usr.bin/perl/cpan/JSON-PP/t/
H A Dcore_bools.t15 is $json->get_core_bools, !!0, 'core_bools initially false';
19 skip "core_bools option doesn't register as true for core bools without core boolean support", 1
22 is $json->get_core_bools, !!1, 'core_bools true when setting bools to core bools';
26 is $json->get_core_bools, !!0, 'core_bools false when setting bools to anything other than correct …
28 my $ret = $json->core_bools;
36 is $json->get_core_bools, !!1, 'core_bools true when setting core_bools';
/openbsd-src/gnu/usr.bin/perl/cpan/JSON-PP/lib/JSON/
H A DPP.pm211 $self->{core_bools} = !!1;
214 delete $self->{core_bools};
220 delete $self->{core_bools};
225 sub core_bools { subroutine
227 my $core_bools = defined $_[0] ? $_[0] : 1;
228 if ($core_bools) {
231 $self->{core_bools} = !!1;
236 $self->{core_bools} = !!0;
243 return !!$self->{core_bools};
248 return $self->core_bools(@_);