langs a-z
This commit is contained in:
parent
db842d013d
commit
d066446780
11389 changed files with 98361 additions and 1020 deletions
6
Task/JSON/Perl-6/json.pl6
Normal file
6
Task/JSON/Perl-6/json.pl6
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
use JSON::Tiny;
|
||||
|
||||
my $data = from-json('{ "foo": 1, "bar": [10, "apples"] }');
|
||||
|
||||
my $sample = { blue => [1,2], ocean => "water" };
|
||||
my $json_string = to-json($sample);
|
||||
Loading…
Add table
Add a link
Reference in a new issue