$self->{sloppy_integers}
, sloppy_floats => $self->{sloppy_floats}
, json_friendly => $self->{json_friendly}
);
if($internal)
{ my $builtin = $self->makeBuiltin($fu
$self->{sloppy_integers}
, sloppy_floats => $self->{sloppy_floats}
, json_friendly => $self->{json_friendly}
);
if($def)
{ # Is built-in
my $st = $self->mak
=> '*.exe'
};
sub bigint
{ my $v = shift;
$v =~ s/\s+//g;
# The automatic rewrite into JSON wants real ints, not strings. Therefore,
# we need to numify. On the other hand, pattern match
ppy_floats:\n$@" if $@;
}
if($args{json_friendly} ||= 0)
{ eval "require Types::Serialiser";
panic "require Types::Serialiser by json_friendly:\n$@" if $@;
}
$args{pref
undef> if not
found.
-Option --Default
json_friendly <false>
sloppy_floats <false>
sloppy_integers <false>
=over 2
=item json_friendly => BOOLEAN
The READER is slightly diffe
turn ();
my %args = @_;
return $builtin_types{boolean_with_Types_Serialiser}
if $args{json_friendly} && $name eq 'boolean';
return $builtin_types{$sloppy_int_version{$name}}
i
_float_version{$name}))
{ return $builtin_types{sloppy_float_force_NV}
if $args{json_friendly} && $maptype eq 'sloppy_float';
return $builtin_types{$maptype};
}
# o
<false>
include_namespaces <true>
interpret_nillable_as_optional <false>
json_friendly <false>
key_rewrite []
mixed_elements
item json_friendly => BOOLEAN
[1.55] When enabled, booleans will be blessed in Types::Serialiser
booleans. Floats get nummified. Together, this will make the output
of the reader usable as JSON wit