The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.
use strict;
use FindBin;
BEGIN { push @INC, $FindBin::Bin }

use TestYAML ();
use JSON::Syck;
use Test::More tests => 1;

my $data = JSON::Syck::Load('{"i":-2}');

is $data->{i}, -2;