Created
August 29, 2015 09:49
-
-
Save tadzik/b10f4469b0adc2c16cf1 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
┌─[tadzik@yavin]─[~] | |
└─[%]─> cat json-bug.pl | |
my $json = '{"foo":[]}'; | |
my ($tiny, $fast); | |
{ | |
use JSON::Tiny; | |
$tiny = from-json $json; | |
} | |
{ | |
use JSON::Fast; | |
$fast = from-json $json; | |
} | |
say $tiny.perl; | |
say $fast.perl; | |
┌─[tadzik@yavin]─[~] | |
└─[%]─> perl6 json-bug.pl | |
{:foo($[])} | |
{:foo($[])} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment