NAME
JSON::Syck - JSON is YAML
SYNOPSIS
use JSON::Syck;
my $data = JSON::Syck::Load($json);
my $json = JSON::Syck::Dump($data);
DESCRIPTION
JSON::Syck is a syck implementatoin of JSON parsing and generation. Because JSON is YAML (http://redhanded.hobix.com/inspect/yamlIsJson.html), using syck gives you the fastest and most memory efficient parser and dumper for JSON data representation.
DIFFERENCE WITH JSON
You might want to know the difference between JSON and JSON::Syck.
While JSON is a pure-perl module and JSON::Syck is based on libsyck, JSON::Syck is supposed to be very fast and memory efficient. See chansen's benchmark table at http://rafb.net/paste/results/8rSJGq74.txt.
JSON.pm comes with dozens of ways to do the same thing and lots of options, while JSON::Syck doesn't. There's only Load
and Dump
Oh, and JSON::Syck doesn't use camelCase method names :-)
AUTHORS
Audrey Tang <autrijus@autrijus.org>
Tatsuhiko Miyagawa <miyagawa@gmail.com>
This module is originally forked from Audrey Tang's excellent YAML::Syck module and 99.9% of the XS code is written by Audrey.
The libsyck code bundled with this module is written by why the lucky stiff, under a BSD-style license. See the COPYING file for details.
The Storable.xs code bundled with this library is written by Raphael Manfredi and maintained by perl5-porters, under the same license as Perl.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.