Log::Any qw/$log/;
use MarpaX::ESLIF 3.0.32;
my $ESLIF = MarpaX::ESLIF->new($log);
# ABSTRACT: JSON Data Interchange Format following ECMA-404 specification
our $VERSION = '0.014'; # VERSION
our
s{strict} ? _JSONStrict()->decode($input, %options) : _JSONRelaxed()->decode($input, %options)
}
sub encode {
my ($self, $input, %options) = @_;
return $options{strict} ? _JSONStrict()->enc
ns) : _JSONRelaxed()->encode($input, %options)
}
# -------------
# Private stubs
# -------------
sub _JSONStrict {
state $JSONStrict = MarpaX::ESLIF::JSON->new($ESLIF, 1);
return $JSONStrict