package Data::Clean::ForJSON;
our $DATE = '2019-11-26'; # DATE
our $VERSION = '0.395'; # VERSION
use 5.010001;
use strict;
use warnings;
use parent qw(Data::Clean);
use vars qw($creating_singleton)
Exporter qw(import);
our @EXPORT_OK = qw(
clean_json_in_place
clone_and_clean_json
);
sub new {
my ($class, %opts) = @_;
if (!%o
ingleton = $class->new;
$singleton;
}
sub clean_json_in_place {
__PACKAGE__->get_cleanser->clean_in_place(@_);
}
sub clone_and_clean_json {
__PACKAGE__->get_cleanser->clone_and_clean(@_)
package Data::Clean::FromJSON;
our $DATE = '2019-11-26'; # DATE
our $VERSION = '0.395'; # VERSION
use 5.010001;
use strict;
use warnings;
use parent qw(Data::Clean);
use vars qw($creating_singleton
"You probably want to call get_cleanser() yet to get a singleton instead?";
}
$opts{"JSON::PP::Boolean"} //= ['deref_scalar_one_or_zero'];
$class->SUPER::new(%opts);
}
sub get_clean
from JSON decoder
__END__
=pod
=encoding UTF-8
=head1 NAME
Data::Clean::FromJSON - Clean data from JSON decoder
=head1 VERSION
This document describes version 0.395 of Data::Clean::FromJSON (fr